Skip navigation.
Home
Freeware and Free & Open Source Software for Proprietary OSes

Tabs and Ajax Bad for Browsers?

Both Internet Explorer 7 and Firefox 2 for Windows Vista have been giving me fits for many months with their respective memory leak issues. Firefox 2 has been a bit more stable on my Mac but blows up there now and then too.

I started looking a bit harder at my browsing behavior to try to figure out what causes the problem. IE7 starts out using about 45MB RAM out of the box. However, going to my my.live.com page with about 10 Ajax tabs showed an interesting phenomenon. Every time I moved to a new tab filled with RSS feeds, another couple of megabytes was used up. After moving left to right across the tabs, IE7 was using over 120MB RAM. Clicking a link to open up a new browser tab increased RAM use even more. Closing the tab did not recover memory.

Firefox showed similar memory leakage. And, like IE7 did not recover memory when browser tabs were closed.

Windows Vista seems especially sensitive to this memory leakage. Vista slows down to become nearly unusable (or actually unusable) after a lot (say 160MB) of memory is used by IE7 or Firefox. And, this is on a PC with 2GB total RAM.

This doesn't seem to happen on a Mac running OS X Leopard. Firefox does crash more than it should there though.

In Firefox, press

In Firefox, press Shift+Ctrl+T after closing a tab to see why the memory is not released. I personally use this feature all of the time, but to the people who like to keep their RAM investment pristine and unused, there needs to be a UI to disable tab reopening, caching, prefetch, extensions, and plugin cache. Or you could just use K-Meleon (fast native Windows Gecko browser) or Opera.

Be sure it's a leak when you say leak, BTW. I've got a feeling that's actually a cache you're talking about.

Brianary: Thanks for the

Brianary: Thanks for the Shift-Ctrl-T tip. And, you are probably right that memory leak may be a misnomer on my part. It is probably more accurate to say that the near non-existent cache memory management is at fault vs. a true memory leak.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.