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

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

How I did reduce Firefox Memory Consumption by 15 Megabytes
Reduce Firefox Memory Usage
Firefox Memory Tweaks
Memory Fox Flushes Firefox’s Memory Constantly
Firefox Plumber, Drop Firefox Memory Usage



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Sunday February 25, 2007 -
Tags:, , , , , ,


Responses so far:

  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

  9. I love FF because of the addons and plugins. But hate the memory consumption. Sometimes it takes 1,5GB of my RAM. That’s sick. Hoping that this solution will work for me.

    Thanks

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

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