Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Solution to Firefox 4 memory leak and hogging

  • 4 个回答
  • 133 人有此问题
  • 278 次查看
  • 最后回复者为 firehog

more options

I got SO fed up with Firefox 3.6 using so much memory that I upgraded to Firefox 4 only to find the problem is WORSE.

Now before all you Firefox sycophants start saying it is the Add-On's, let me tell you that is BS and I will tell you why; because it is Firefox who is ultimately responsible for the program and at the very LEAST it should be able to give you a memory map of how much memory each tabs and each add-ons are using with an ability to terminate them.

The basic memory problem with Firefox is that it does is NOT release memory, so as you open more and more sites it gobbles up more and memory even if you close the tabs.

So after a few hours of busy browsing the memory usage is up to 900mb, yes 900mb, quite ridiculous, but if you load windows start manager and end the Firefox task, then reload Firefox it will load the same sites, but take up between 200mb and 300mb, so 600mb of wasted memory.

Now some of you might say, "why not zap Firefox and reload to recover memory" well because if you do you may lose your place on some sites and if you don't have your master password handy and ready to copy and paste QUICKLY, you will have to enter your master password for every tab.

What I wanted was a way of forcing Firefox to give up all this memory and I found one! It was an equally badly behaved Adobe Air application called Keyword Blueprint (KWBP), I got it free from http://www.miningmoneyonline.org/ as part of some free course to make money online (you just need an email, they try to get you to sign up for more but the download link is at the bottom). What KWBP does is evaluate google keywords and every time you tell it to evaluate another 10 keywords it gobbles more memory.

What was interesting was that once you got KWBP over 1gb of ram Firefox started shrinking it's memory usage, the more memory I got KWBP to use by evaluating more keywords, the more Firefox released memory. I kept doing this until KWBP terminated through lack of memory or Firefox had recovered enough memory to stop the pale white screen and slow performance. I then exited KWBP and proceeded.

It was not a great solution but it shows that Firefox is capable of releasing memory, (BTW you have to choose a very generic keyword in KWBP so that there are lots of keywords to evaluate, something like Lose Weight or Forex should do the trick).

So what we need now is a Firefox add-on or menu option that makes Firefox release this memory KWBP shows it is capable and it works better in Firefox 3.6 but the most important thing is that it shows this CAN be done.

So no more excuses Firefox, I don't want to start using Chrome or Internet Explorer 9, I like Firefox but I am really fed up with firefox at the same time.

Hope this helps.

Jan

I got SO fed up with Firefox 3.6 using so much memory that I upgraded to Firefox 4 only to find the problem is '''WORSE'''. Now before all you Firefox sycophants start saying it is the Add-On's, let me tell you that is BS and I will tell you why; because it is Firefox who is ultimately responsible for the program and at the very LEAST it should be able to give you a memory map of how much memory each tabs and each add-ons are using with an ability to terminate them. The basic memory problem with Firefox is that it does is NOT release memory, so as you open more and more sites it gobbles up more and memory even if you close the tabs. So after a few hours of busy browsing the memory usage is up to 900mb, yes 900mb, quite ridiculous, but if you load windows start manager and end the Firefox task, then reload Firefox it will load the same sites, but take up between 200mb and 300mb, so 600mb of wasted memory. Now some of you might say, "why not zap Firefox and reload to recover memory" well because if you do you may lose your place on some sites and if you don't have your master password handy and ready to copy and paste '''QUICKLY''', you will have to enter your master password for every tab. What I wanted was a way of forcing Firefox to give up all this memory and I found one! It was an equally badly behaved Adobe Air application called Keyword Blueprint (KWBP), I got it free from http://www.miningmoneyonline.org/ as part of some free course to make money online (you just need an email, they try to get you to sign up for more but the download link is at the bottom). What KWBP does is evaluate google keywords and every time you tell it to evaluate another 10 keywords it gobbles more memory. What was interesting was that once you got KWBP over 1gb of ram Firefox started shrinking it's memory usage, the more memory I got KWBP to use by evaluating more keywords, the more Firefox released memory. I kept doing this until KWBP terminated through lack of memory or Firefox had recovered enough memory to stop the pale white screen and slow performance. I then exited KWBP and proceeded. It was not a great solution but it shows that Firefox is capable of releasing memory, (BTW you have to choose a very generic keyword in KWBP so that there are lots of keywords to evaluate, something like Lose Weight or Forex should do the trick). So what we need now is a Firefox add-on or menu option that makes Firefox release this memory KWBP shows it is capable and it works better in Firefox 3.6 but the most important thing is that it shows this CAN be done. So no more excuses Firefox, I don't want to start using Chrome or Internet Explorer 9, I like Firefox but I am really fed up with firefox at the same time. Hope this helps. Jan

由FedUp于修改

所有回复 (4)

more options

This is the before and after view of windows task manager showing 500mb of memory recovered, it is not always this effective but it demonstrates that Firefox can be made to give up the memory it is hogging.

more options

Everyone should just switch to Chrome browser. I also had problem of FF 4 using over 1gig of ram making my computer crawl.

Have been using chrome awhile now and memory usage never goes above 100mb no matter how many tabs are open. It also has developer tool that has almost all the features that firebug has. Going to chrome permanently. Tired of FF slowing me down.

more options

I can't switch entirely to Chrome because of some wonderful FF plugins. Anyways, I found the solution to the memory hogging problem by firefox here firefox memory hogging fix and now my firefox.exe is 420 MB instead of 1.2 GB.

Makes my system more usable, by A LOT.

more options

On my machine firehog 8 and thunderf**k 8

  • top - 20:51:39 up 57 days, 22:49, 17 users, load average: 0.54, 0.47, 0.45
  • Tasks: 177 total, 1 running, 174 sleeping, 0 stopped, 2 zombie
  • Cpu(s): 9.1%us, 6.3%sy, 1.2%ni, 83.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
  • Mem: 2005164k total, 1864168k used, 140996k free, 3100k buffers
  • Swap: 4088504k total, 282280k used, 3806224k free, 438204k cached
  • PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  • 7229 user 1 0 999m 445m 22m S 1 22.7 209:39.23 firefox
  • 5572 user 1 0 898m 423m 14m S 0 21.6 143:51.94 thunderbird-bin

Half a gig each, just to show a blank google search page, and a mailbox

What a sad joke. A dual core 2.4GHz machine with 2GB of RAM crawling to a halt basically doing nothing.

由firehog于修改