Tabs or Windows?

Over on Go Firefox!, an interesting question was posted: Which uses less system resources (memory)?

My theory is using tabs would use less resources then having the same sites opened in separate windows. My reasoning is each window has to load the entire browser interface, not just the page content. So, I did a little experiment. First using Firefox with a clean profile (no extensions, no plug-ins and default theme) and imported my bookmarks from another profile.

For the first test, I opened Firefox with the clean profile and choose 5 sites and opened each one in its own window:

Next, I closed then opened Firefox with the clean profile and choose the same 5 sites and this time, opened each one in its own tab:

As you can see from the two experiments, having the same sites loaded in tabs used 25 MB less memory. Okay, so 30 MB may not be all that much, but remember this was with a clean profile. There are no extensions load and I was using the default theme.

Okay, so how about something a little more typical? This time I have used my default profile which still uses the default Firefox theme but with 32 extensions. I tested with 7 tabs open (6 with pages loaded and 1 blank). Then tested the same 7 pages each in there own windows. Here are the results using a normal (with extensions and plug-ins) profile with 7 pages (1 blank) in 7 Windows:

The same profile with the 7 pages in 7 Tabs:

Even with a more typical usage (profile with extensions and plug-ins) Firefox is still using more memory (30 MB) displaying the pages in their own window instead of in tabs on one window. But even an extra 30 MB is not all that bad for memory usage. It really comes down to personal preference, but I the big “selling feature” of Firefox was the tabbed browsing.

Edit: While totally unintentional, it was interesting to see that on 3 out the 4 test Flock which was sitting idle with 4 open tabs was using more resources than was Firefox. This version of Flock is based of Firefox 1.5, which as many will recall was heavily plagued by memory leaks.



Tabs or Windows? — 4 Comments

  1. Pingback: Firefox Tabs vs Firefox Windows » Firefox Facts

  2. Nicely written & well explained. I always wondered about the outcome of such tests & wanted to do these tests myself but didn’t get a chance. I am glad I did the search and found your analysis. Now I know what to do. Go for Tabs…. Not new windows.

    I used Google Chrome & I have a bunch of extensions that take up at least 65-75% of my PC Physical memory. I use most of the extensions in my daily work in one or the other. Do you have any optimization tips to reduce memory usage in such conditions without having to disable or uninstall any of the extensions? If you can share any info that you may have in this regard, that will be appreciated.

    And lastly, I noticed that you there 2 options while leaving a comment. They are: “Notify me of follow-up comments by email.” & “Notify me of new posts by email.”. Can you please tell me the plugin(s) you are using to add these 2 check-boxes to the comment form? Is it just a single plugin or multiple plugins?

    Thank you.

Leave a Reply