搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 4.0 RC has huge memory leak + slow down problem

  • 4 个回答
  • 401 人有此问题
  • 4 次查看
  • 最后回复者为 ernstlustig

more options

Firefox 4.0 RC Seems to have a huge memory leak issue. After leaving the program open for around half an hour the RAM usage climbs to over 1 gb.

However, I have 12 gb of physical ram, so firefox staking 1 gb for itself is not too big of a problem (and is probably a blessing as it means it's caching more data), but the problem is that the UI begins to slow down and become clunky after about 30 minutes.

Browsing, switching tabs, even typing becomes jittery and not very responsive.

This happens regardless of how many tabs I have open.

Now it's also crashing every once in a while.

Firefox 4.0 RC Seems to have a huge memory leak issue. After leaving the program open for around half an hour the RAM usage climbs to over 1 gb. However, I have 12 gb of physical ram, so firefox staking 1 gb for itself is not too big of a problem (and is probably a blessing as it means it's caching more data), but the problem is that the UI begins to slow down and become clunky after about 30 minutes. Browsing, switching tabs, even typing becomes jittery and not very responsive. This happens regardless of how many tabs I have open. Now it's also crashing every once in a while.

由petrifiednightmares于修改

所有回复 (4)

more options

You can try Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems as they are the likely culprit. Firefox 4 is actually very good about managing memory (for example, http://blog.unitedheroes.net/archives/p/4192 ).

more options

Thanks for the reply.

The problem is, since it is a memory leak (a slow and intermittent problem), debugging by systematically disabling potential trouble causing addons could take a ridiculous amount of time. It takes on average 30mins - a few hours for firefox to rack up its high memory usage, and I have a dozen addons. This means that even if I was to disable them half at a time in a binary search like manner, discovering the cause of the leak could take at least half a day of constant testing. Is there a better way?

more options

Even with Firefox 4.0 (Release) running in Safe Mode, with all add-ons and themes disabled, I'm still inclined to think there's something screwy going on here.

I was watching Page Faults/sec, Page File Bytes and Working Set in Performance Monitor and tailing the Privoxy log for requests. Even with Firefox minimized and "doing nothing" (making no requests, anyway), over the space of a 10 minute period the Working Set grew from 244,375,552 bytes to 274,939,004 bytes (averaging 50,939 bytes/second). This behaviour doesn't seem consistent though - sometimes it doesn't seem to grow at all.

Additionally the Page Faults/Sec went nuts, accompanied by a step in Page File Bytes and Working Set, whenever a request got made to http://safebrowsing.clients.google.com/safebrowsing/downloads which seems to happens on a regular basis (approximately every 30 minutes).

more options

Workaround found: Open about:blank in one tab and the memory leak is gone. If memory still grows refresh about:blank to free memory.

由ernstlustig于修改