by tytso · 15y ago · 0 comments
The fact that it uses more memory is a design tradeoff (although with shared text pages it's not as bad as one might think). The real question is whether you would ever have that many tabs open, and how much memory do you have on your desktop?
I have 60 tabs open now (in FF), and this is after closing most of them, on a 32-bit system with 4GB of RAM. I regularly hit over 200 tabs when browsing.
On top of those there are "recent research" for any problems I am currently working on, which is usually at least one window each with a search results tab and a few tabs I opened from there (after pruning the ones that were not relevant in the end.
Plus there are the tabs I am "actively" using (which is pretty much always at least five at the moment: two mail clients, two social networking sites, and a page containing the results of various service monitors which updates every minute or so).
I often see FF taking a bit more than 1Gb RAM particularly if I have complex pages that auto-update a lot (Zimbra, facebook, so forth) open, though often closing it and restarting with the "reload last session" option brings that down by at least 60% (I assume the "extra" is stuff cached in RAM and/or memory allocated and not yet released due to fragmentation in FF's internal memory management - both situations being "resolved" by the restart)
Maybe you don't feel bogged down but I feel bogged down for you :)
Similar usage with 3.x rarely exceeded 300MB and FF would remain open for weeks.
Tree-mode tabs help a lot (I'm still looking for a good Chrome plugin for this), "Tree Style Tabs" for FF5. Since trees group related tabs (I've got a subtree open for HN right now), and collapse, it helps to manage them.
As with grandparent poster, I'll have several windows, across several desktops, task-oriented. News, mail, site monitoring, research, reference(s) for languages / tools, etc.
200 tabs is probably a high count, but well over 100 is very doable.
It's just a way of keeping the 'flow' of a browsing session in the browser itself, so you don't have to keep all that in (mental) memory.
I do use Firefox, which works fine even in my 2GB laptop and with a bunch of extensions installed.
I've also switched back from Chrome to Firefox because Chrome doesn't scale (nor does it have all the extensions).
That's just one use case, but there are certainly many others.
It is also the main reason why I can't/won't switch to Chrome - no Tree Style tabs.
This morning I had about 30 tabs open when I came into work, all documentation or reference of some sort that I will use in the next few hours. And thats about the lowest I ever get, if I'm looking up something new to me or complex it will easily shoot over 100.
I recommend a vertical tab addon (I use Tree Style Tabs) else you'll wear out your scroll wheel on the tab bar :)
Lately I've been trying to keep them down because of memory constraints (tab/process model in Chrome).
Perhaps I need to take another look at my addons, but I only have four (firebug, web developer, ad block, and diigo), so I really doubt they are the cause.
But for example you can't completely isolate a thread if it crashes. But you can forbid it to access other memory areas for security, that's what Firefox does.
Since Firefox 4 each tab has it's own separate garbage collector.
Not in C/++ in any standard definition of "thread".
I didn't think Firefox would be better but if it is, I might go back to it!
Still, I prefer manual memory usage control (I have a meter in my panel, near the clock). This feels easier than less-predictable browser-wide hangs where I can't even switch the tab. I've tried Firefox 4 when it was released and I was unsatisfied with its responsiveness, for example, when I open a lot of flash-heavy tabs. While I've heard Mozilla devs did move plugins to separate process, in practice there were cases that the browser did hung for several seconds.