How I reduced Firefox's Memory Consumption by 15 Megabytes - gHacks Tech News

How I reduced Firefox's Memory Consumption by 15 Megabytes

When it comes to Firefox's memory usage, there is a lot that you can do about it. When I compared the memory usage of my version of Firefox with that of a friend's version, I noticed that his version was using less than mine under the same circumstances.It did use about 55 Megabytes of RAM without any website loaded while the version of my friend did only use 40 Megabytes.

I was puzzled at first but soon realized that my friend was not using many extensions while my version of Firefox was loaded with three toolbars and countless extensions. And so my little experiment began. I uninstalled two of the three toolbars, removed any extension that I did not needed that badly and restarted Firefox afterwards.

The result was a reduction to 41 Megabytes from 55 Megabytes which was more than I hoped for. I'm pretty confident that I could reduce that number even further if I would uninstall the last toolbar as well and get rid of the ten extensions that I have still installed.

I will not do it though because some of the extensions add so much functionality and security to Firefox that I have to keep using them.

About the memory hack that I was talking about in the beginning: you can reduce or disable the back history of Firefox. If you set it to zero, Firefox won't let you use the back button at all, while a reduction to a low value will only limit how far back you can go when you click on that button.

firefox reduce memory

  1. Type about:config into the browser's address bar and hit enter.
  2. Confirm you will be careful if the notification is displayed.
  3. Search for browser.sessionhistory.max_total_viewers and set the value to 0.

The default value is -1 which automatically adjusts the pages based on the computer's memory. If you set it to 0, you disable the feature completely, while any positive integer value equals the number of pages that you can go back in Firefox.

Note: Firefox's memory consumption has increased with time and it is not uncommon anymore that the browser uses hundreds of Megabyte of RAM.

While part of this comes from feature additions, high memory usage may also be caused by browser extensions such as Adblock Plus.

Summary
How I reduced Firefox's Memory Consumption by 15 Megabytes
Article Name
How I reduced Firefox's Memory Consumption by 15 Megabytes
Description
Provides you with information on how to reduce Firefox's memory usage.
Author

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Blackhouse said on November 29, 2007 at 10:49 pm
    Reply

    This is great news for those who have a box which is low on memory. Though the newer generation of machines which is able to run stuff like Vista, 15mb is next to nothing. My machine has 2GB, which is reasonable if you look at the memory prices these days, 15MB of RAM is less than 1% and in the bigger picture my extensions will hardly influence how my machine runs.

  2. Martin said on November 29, 2007 at 10:54 pm
    Reply

    I maybe a bit old fashioned when it comes to RAM ;) I like to reduce memory consumption even though I have 2 Gigabytes as well.

  3. exglade said on November 30, 2007 at 1:03 am
    Reply

    Another way to reduce firefox memory effectively is using “Firefox Ultimate Optimizer”. It work find for me, may be you guys should try it. And GHack, thx for the tip.

  4. vance said on November 30, 2007 at 8:21 am
    Reply

    I only have one extension on my ff3 beta 1 and still eating 66k to 80k..

  5. Transcontinental said on December 1, 2007 at 12:21 am
    Reply

    Same here, over 60 extensions and 53MB at start (no page loaded). But I wish not to remove whatever extension, and on another hand setting browser.sessionhistory.max_total_viewers to 0, though I load mainly pages in new tabs, may be bothering sometimes: I’ve set that value to 4 (instead of 8 as default for 1Mb RAM). What I do to recover memory if I really get too high is to simply minimize FF with config.trim_on_minimize set to true : radical!

  6. Transcontinental said on December 1, 2007 at 12:31 am
    Reply

    @exglade, “Firefox Ultimate Optimizer” seems to contain a sniffer. KIS 7 has confirmed this on download. What a pity!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.