ghacks Technology News

Reduce Firefox Memory Consumption


Firefox seems to need more memory when I have it open for a long time and surf to many different websites. I was never able to find out why it behaved this way and assumed that it was either a memory leak or an extension which would be responsible for this behavior.

It seems that my assumption was wrong. Firefox saves the last 50 visited websites of a single session in memory which means that it could add up quickly if you visit lots of content filled websites. The reason behind this is that it is faster to access a already visited website if it still resides in memory instead of loading it from disk cache or from the server.

50 sites on the other hand seems a lot to me. I usually do not visit sites again that I visited a while ago – I tend to visit many different sites and only a few ones more than once daily. The fix is relatively simple. Type about:config in the Firefox address bar and search for the term:

browser.sessionhistory.max_entries

Right-click the entry, select modify from the list and change it to a lower value. I set it to 5 which works well for my surfing habits. Other values might be better for yours.

source: A2Z



Tags: , , , , , ,
Categories: Browsing, firefox




Related posts:

  1. How I did reduce Firefox Memory Consumption by 15 Megabytes
  2. Reduce Firefox Memory Usage
  3. Firefox Memory Tweaks
  4. Firefox Tip: Find as you Type
  5. Memory Fox Flushes Firefox’s Memory Constantly
  6. Use Keywords to search faster in Firefox
  7. Pep up the Firefox History
  8. Delete about:config Entries in Firefox

14 Responses to “Reduce Firefox Memory Consumption”

  1. al saiz says:

    Now this was a great tip. Thanks.

  2. Thinker says:

    I will try it, Firefox eats memory much more than IE :/
    Sometimes after long using firefox, even if I got 1 page opened, FF takes up to 1GB of ram :[

  3. jackal9 says:

    Memory leak is the only chink in the armor in Firefox for me, so ill check this out and c… thanx

  4. tash says:

    Another really good thing to do is in the about:config screen right click and go to new boolean, then type config.trim_on_minimize and set it to true,
    Now whenever you minimize firefox, it’ll reduce the amount of ram it takes a lot. Usually down to

  5. Thinker says:

    tash thanks for your tip, it makes a big diffrence now :)

  6. Steve J says:

    Great tips thankyou Martin and tash I’ll give both a try

  7. Anonymous says:

    Thanks a lot for this tip eh!

    Great Success!

  8. JackBoy says:

    Firefox eats up memory like there is no tomorrow .. I have been a firefox fun for a long time .. Being a tech guru I inspired all my friends who ran to me that IE not responding problem . But now I just cant go with Firefox anymore It shuts down like 20 times a day . And acrobat stops responding like 100 times a day .. I am just looking for another browser to tab me going … probably not IE may be Opera or Flock may do the trick for me

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2010 Ghacks.net. All Rights Reserved. Privacy Policy - About Us