為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox 4.0 RC has huge memory leak + slow down problem

  • 4 回覆
  • 401 有這個問題
  • 15 次檢視
  • 最近回覆由 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 於 修改