Add to Google Reader, Bloglines, Netvibes,Free Weekly Newsletter

Firefox 2.0 since its release had the niggling memory leak and no matter how many updates have been out to address this issue it still has that retard issue. A standard Firefox install without any extensions consumes around 80MB but soon after you add a few extensions you can see a noticeable drop in the performance. There are many guides out over the internet but i have made my own version that seems to work. It gono be a pretty comprehensive guide so you have a stick a little longer to learn the tricks.

First of all make sure you have the latest version of Firefox, presently 2.0.0.7. If you don’t have which i doubt. You can download using the link below, if you are kind enough grab my referral link.

http://www.mozilla.com/en-US/firefox/


1. Extension and themes the main cause of memory leaks.

A standard install of Firefox doesn’t seems to show any memory leak issues. But after installing few extensions it seems to show the memory leak issues. Basically this issue occurs due to buggy, bloatware extensions. Also if you overloaded your Firefox with extensions, you can expect high memory usage. Same goes for themes, don’t install too many themes. To minimizes memory issues try testing each plugin one by one for few hours and check over their memory signature. As a result you can always find out the buggy ones and help yourself minimizing the high memory usage. You can even check this comprehensive list of buggy extensions and find out if one of your extension belongs here. Always keep your extensions updated this is another way to cope with the issue.

Comprehensive Guide on How to reduce the memory usage in Firefox?

2) Start Firefox in Safe Mode

If one of your extensions is not in that list, boot Firefox into Safe Mode to disable all extensions and themes. You can do this by going to Start > Run, and entering:

firefox -safe-mode

A similiar looking box will appear .Now check Disable all add-ons
now click on Continue in Safe Mode. Now fire up your Windows task manager and compare the memory usage before and after disabling the extensions. Normally disabling extensions only drops of couples of MB of ram. But if you find some memory spikes this surely indicates some problems of either of the extensions or themes installed.

Comprehensive Guide on How to reduce the memory usage in Firefox?

3) Plugins:

Another memory hogger are the plugins that are needed for open special media or application within Firefox, like Java chat, PDF reader, WMV, Quicktime etc. Here are some links from MozillaZine that offers some basic solutions to plugin related issues.

4) Clear your Download History:

    Comprehensive Guide on How to reduce the memory usage in Firefox?Another basic tip to improve memory usage is cleaning up your download history.Allowing your download history to accumulate degrades your Firefox performance. If you don’t like clicking on the Clean UP button after each and every download try this. Navigate toTools > Options > Privacy > and Uncheck Remember what I’ve downloaded

    Comprehensive Guide on How to reduce the memory usage in Firefox?

    This will erase your download history each time you close the Downloads History window.

    5) Additional internal settings

    The previous tips were simple yet good enough to tame the leakage issue. Now why not some internal tweaks that will boast Firefox performance to some extend. Here is a tip to limit the amount to allocated for caching.
    There are a couple of settings you can tweak in Firefox that can limit the amount of memory allocated for caching.

    1. Open Firefox and type in about:config in the address bar.

    Comprehensive Guide on How to reduce the memory usage in Firefox?

    2. Type browser.cache.memory.enable in the Filter Bar and make sure it is enabled. If not, just double click it to set it to enable.

    3. Right-click an area of empty space in the browser and choose New > Integer. Type in browser.cache.memory.capacity and click OK.

    Comprehensive Guide on How to reduce the memory usage in Firefox?

    The integer value you enter depends on the amount of RAM you have.
    If you have:
    256 MB of RAM, enter “4096
    512 MB of RAM, enter “8192
    1 GB of RAM, enter “16384
    and so forth… Just double the number as your RAM doubles.

    4. Right-click anywhere on the window and click New > Bootlean and enter:

    config.trim_on_minimize

    And set it to true.

    By default whenever you minimize an app in Vista the memory usage goes down. But Firefox for some reason doesn’t does that. By using the above setting it will use less when minimized.

    5. Restart Firefox for these changes to apply.

    6) Close Firefox periodically:

    Don’t get me wrong. You’d surely don’t like the idea of closing your workspace time and again, same goes for Firefox. With a simple extensions you can save save your internet sessions so when you re-open Firefox, you can have it exactly the way it was before you closed it - the tabs, the cache, everything.You can download Extension Manager here.
    Once you have downloaded the extension, we need to set it up. First, we need to get to the options window: Tools > Session Manager > Session Manager Options
    Comprehensive Guide on How to reduce the memory usage in Firefox?

    Once you’re in the options window, just make sure your screen looks like the one below and you’ll be fine.

    Comprehensive Guide on How to reduce the memory usage in Firefox?

    7) Get Portable Firefox:
    Using Portable Firefox has definitely helped minimize my memory usage. You can download Portable Firefox here. For the most part, it runs the same way your regular Firefox does. Here’s a comparison of how much memory each version of Firefox took up: Portable Firefox eats half that of the memory as normal firefox does.

    Ordinary Firefox 2.0.0.3:

    Comprehensive Guide on How to reduce the memory usage in Firefox?

    Portable Firefox 2.0.0.3:

    Comprehensive Guide on How to reduce the memory usage in Firefox?



If you enjoyed this post, make sure you subscribe to the RSS feed! You can also subscribe by Email and have new posts sent directly to your inbox.

Popular Posts





Comments

  1. 1
    syahid ali
    October 9th, 2007 at 3:25 pm

    nice post man but #6 does not seem practical enough.

  2. 2
    Pranjal
    October 9th, 2007 at 4:16 pm

    You can even use Restart Firefox
    https://addons.mozilla.org/en-US/firefox/addon/1249

  3. 3
    MCG
    November 14th, 2007 at 4:14 pm

    Thanks for the tips. Useful information.

  4. 4
    Jason
    November 15th, 2007 at 3:47 am

    Great post! I was wondering why it seemed as if Firefox was slower than IE. Don’t get me wrong, Firefox rules.

  5. 5
    Bernie Mac
    November 20th, 2007 at 5:53 am

    Hey!…Thanks for the nice read, keep up the interesting posts..what a nice Monday

  6. 6
    Niall Doherty
    November 20th, 2007 at 2:58 pm

    Thanks for this. Seems to be working for me. I think using portable Firefox made the biggest difference.

  7. 12
    Albert
    February 18th, 2008 at 12:02 pm

    Nice post ;) lol. I use good old restart too. Am actually too lazy to configure firefox.

  8. 13
    dick
    February 20th, 2008 at 3:15 am

    Thanks for the useful info.

  9. 14
    Tolga Kaprol
    February 22nd, 2008 at 9:28 am

    I’m using an additional software that named Firefox Ultimate Optimizer. It’s moves all of firefox data to virtual memory. Bad side is it’s uses your CPU a little bit.

    You can get it from there:

    http://felipex.net/

Trackbacks

  1. SunniPath Blog - » How to Reduce Memory Usage in Firefox
  2. User First Web » links for 2007-11-20
  3. Lost in Programming » kurz & bündig - #5
  4. Interesting Web Browsers You Have Never Heard Of | Developer's Toolbox | Smashing Magazine
  5. links for 2008-01-11 « B I T Z
  6. Optimize Firefox Reduce Memory Leakage · ordaso.com

Leave a Comment

Comment Policy : Any comments are permitted only because the site owner is letting you post, and any comments could be removed for any reason at the absolute discretion of the site owner. Besides that comments may take time to appear.

blank