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:

How I did reduce Firefox Memory Consumption by 15 Megabytes
Reduce Firefox Memory Usage
Firefox Memory Tweaks
Firefox Tip: Find as you Type
Pep up the Firefox History
Change the Firefox Location Bar Search Engine
Increase Responsiveness of Firefox
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

Trackbacks/Pingbacks

  1. [...] first read this trick on Ghack and then I tried it myself. It made my Firefox work smoothly for [...]

  2. [...] 50. Ich bin noch am ausprobieren, welcher Wert da für meine Surfgewohnheiten passend ist. Meine Quelle hat sich für 5 entschieden, mal sehen wie sich das [...]

  3. [...] ghacks – Reduce Firefox Memory Consumption “Type about:config in the Firefox address bar and search for the term: ‘browser.sessionhistory.max_entries’ Set lower to 5 (or whatever works for you)” (tags: firefox hacks memory browser) [...]

  4. [...] for some reason, Firefox is using up memory. Over the next few days I will be attempting various suggested remedies (including disabling the Google Firefox Toolbar, ironically enough) and I’ll try to [...]

  5. [...] ghacks – Reduce Firefox Memory Consumption “Type about:config in the Firefox address bar and search for the term: ‘browser.sessionhistory.max_entries’ Set lower to 5 (or whatever works for you)” (tags: firefox hacks memory browser) [...]

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

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