Fix The Dreaded Memory Leak In FireFox

FAQ

If you have followed my advice on your browser of choice, you might have noticed that after running a while, FireFox gets a little RAM hungry. I found a tweak you can do to improve performance and reclaim some of the memory it eats voraciously.

I found this little tidbit in a number of places across the web when I went looking for a solution, but will credit the original author and his site. You can click the link in the source box below the article to see any updates he might have posted.

Now, this is by no means a REAL fix for the Firefox memory leak, but it certainly does appear to help it quite a bit. This little fix will move Firefox to your hard drive when you minimize it, and as a result it will take up less than 10MB of memory while minimized. So far, from my experiences with using this today, when you maximize Firefox it will obviously increase the memory usage. However, it does not seem to go back up to the insane amount that it was at before minimizing it. For example, Firefox was at 180MB of memory usage and then I minimized it and after a few seconds I maximized it. After maximizing it and continuing on my routine business it appeared to only have gone up to 60MB. This seems to be a good solution for me right now since I frequently maximize and minimize Firefox anyways.

Now I know many people will say that Firefox will take longer to maximize since it will be located on the hard drive, but I haven’t noticed ANY delays. It is able to redraw itself just as quickly as if it was located in the ram (in my experience). Okay, now here are the few simple steps:

  • Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
  • Right Click in the page and select New -> Boolean.
  • In the box that pops up enter config.trim_on_minimize. Press Enter.
  • Now select True and then press Enter.
  • Restart Firefox.

See how quick and painless that was? At any rate you can always go back and delete the same setting that you just created if you start to experience any issues.

I have also set the browser.sessionhistory.max_total_viewers value to 0 because that will prevent Firefox from caching pages for the back button. This is also supposed to free up some memory that gets stolen.

Source: CyberNet: This May Help Your Firefox Memory Leak

Follow

About the Site Owner

Cenay is a self-proclaimed geek with mad technical skills she loves sharing with Videos, Coaching and Articles. Need help? Click the Book 30 Minutes to find out if this is a good fit.

(3) comments

Add Your Reply
..also