May 7, 2007

A small fix for FireFox memory leak problem

FireFox users are familiar with the memory leak problem. FireFox keeps on eating memory. At times, it crosses 250 MB too. We came across a cool fix. It is not an official fix, but it works for many.

Ryan, who found this cool fix says that FireFox stops consuming memory when minimized. For example, he adds, Firefox was at 180MB of memory usage and then he minimized it and after a few seconds he maximized it. After maximizing it and continuing on his other works it appeared to only have gone up to 60MB.

Nice to hear.

Here is what you have to do to tweak:
  1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
  2. Right Click in the page and select New -> Boolean.
  3. In the box that pops up enter config.trim_on_minimize. Press Enter.
  4. Now select True and then press Enter.
  5. Restart Firefox.
Here is the original article. Picture taken from the same article.

Thanks to Ryan.