User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Build Identifier: 4.0 RTM
Just installed FF4 (RTM) a few days ago, running on Windows Server 2008R2sp1 on an intel core i7 with 9GB RAM. Whenever I open http://www.cnn.com FF's memory usage goes through the roof. It climbs steadily for several minutes to about 1GB Private Bytes (in taskmanager), then it seems to stabilize there. But FF perf by then is noticably sluggish -- about 1/2 sec lag after most UI actions, making it borderline unusable.
Doing the same in FF 3.6.13 on a different machine does not show this behavior, memory quickly stabilizes around 85MB Private Bytes.
I've seen several memory bugs logged but none of them have specific repro, for me at least this simple repro is very consistent.
Have tried the repro in safe mode, the behavior is identical.
Steps to Reproduce:
1. Launch FF 4.0 (in safe mode if you like)
2. Navigate to http://www.cnn.com
3. Open Task Manager or similar and watch firefox.exe memory usage.
Memory slowly climbs to an absurd level as described above.
I'd expect more "reasonable" memory usage, closer to what FF3.6 exhibitsfor the same scenario.
Can you give Info of "about:memory" Content opening just about:blank and compare it with opening cnn.com?
Does disabling Plugins (e.g. Flash) - what are enabled in Safemode - make a Difference?
about:memory output with a single about:blank tab open
Memory mapped: 38,797,312
Memory in use: 33,782,048
about:memory with cnn.com open after about 30 minutes (not safe mode, all addons disabled but flash plugin enabled)
Memory mapped: 1,557,135,360
Memory in use: 1,494,544,582
about:memory output after running for 10 minutes with cnn.com open in a single tab, in safe mode, with all plugins disabled:
Memory mapped: 894,435,328
Memory in use: 868,519,080
That's pretty weird.... Looks like a huge amount of gc heap and layout memory in comment 2; a lot of it goes away in comment 3, but not nearly all. And even so, those numbers only account for about a third of the allocated memory.
I see about 70MB of memory allocated total (50 in firefox, 20 in the Flash process) when I load cnn.com. But that's on a 64-bit Mac system....
Reporter, if you create a new profile alongside your old one, do you still see the problem?
Sorry Boris, I'm not sure what you mean by "create a new profile alongside the old one." Could you elaborate, and I'll be happy to try it.
http://support.mozilla.com/en-US/kb/Managing%20profiles should have instructions on doing that. Please let me know if any of them don't make sense, ok?
Ok thanks. I created a new profile, and i do NOT see the problem when I launch with the new profile.
So the problem seems to be related to my upgraded profile. What could there be in the profile that's causing the problem?
Sorry for the lag here... This got lost, somehow. :(
If you can still reproduce this, I'd try copying the prefs.js from the old profile to the new one and seeing whether that causes the problem. If so, we can look for the specific pref responsible. If not, I'll try to figure out what else to try.
It's also worth noting that FF7 (currently in beta) has fixed tons of memory usage problems that were in FF4. The output from about:memory is also much better.
In the MemShrink meeting we decided to close this, because heaps of memory problems have been fixed since FF4 and it doesn't appear to be reproducible. bigig, please reopen if you can reproduce in FF7 (currently in beta) or later.
I forgot to mention I can't reproduce this in Firefox 8.0a2.