Sometimes I just feel that Firefox is such a memory hog. When I start to open up a few extra tabs, it starts to slow down my whole system.
Fortunately, you can do something about it.

How To Reduce Firefox Memory and Cache Usage

Tip 1: Reduce Session History

browser.sessionhistory.max_entries determines the maximum number of pages in the browser’s session history, i.e. the maximum number of URLs you can traverse through the Back/Forward buttons. The Default value is 50. We usually won’t surf more than 5 of the websites we previously surfed before, and there is really no need to store more than that in the session which can clog up memory as they grow.

  1. Open Firefox
  2. Type about:config in the Firefox address bar
  3. Press CTRL-F and search for browser.sessionhistory.max_entries
  4. Double click on the value 50 (or whatever value is there currently) and change it to something lower such as 5.
  5. Restart Firefox.

For Firefox 1.5 and above, you can also look at another configuration variable browser. sessionhistory. max_total_viewers which also determines the maximum number of content viewers to cache for “bfcache” (fast back/forward navigation).

Tip 2: Reduce memory usage when minimize

  1. Start up Firefox
  2. Type in about:config in the address bar and hit Enter
  3. Right click and choose New > Boolean
  4. Type config.trim_on_minimize in the pop-up box and hit Enter
  5. Select True and hit Enter.
  6. Restart Firefox

Tip 3: Fixed cache capacity OR Disable Cache Totally

Every time when new page is loaded, Firefox will cache the page so it doesn’t need to load again to be re displayed in browser. By default, this setting is set to -1 for browser.cache.memory.capacity and to a number you specified in Tools -> Options -> Advanced -> Network / Cache for browser.cache.disk.capacity

To Disable the cache Totally

Set both browser.cache.memory.capacity and browser.cache.disk.capacity to 0. Alternatively, You can also set browser.cache.disk.enable and browser.cache.memory.enable to False.


Please enter your comment!
Please enter your name here