4 Tips on How to handle Firefox Memory Usage

As we know, Firefox has problem with the memory usage. It makes the Firefox load slow, use too many resources and drag our computer down. Here are 5 tips on how you can use to handle and improve Firefox memory usage.

1. Reduce memory usage when minimize
This tip will reduce the memory usage when each time you minimize your Firefox. Actually what it does is, Firefox will let Windows to claiming back the memory used when it minimize.

  1. Start up Firefox
  2. Type in about:config in the address bar and hit Enter
  3. Right click and choose New > Boolean
  4. Type config.trim_on_minimize in the pop-up box and hit Enter
  5. Select True and hit Enter.
  6. Restart your Firefox

2. Fixed cache capacity
Every time new page is loaded, Firefox will cache the page so it doesn’t need to load again to be redisplayed. By default, this setting was set to -1 which mean, Firefox use the cache memory depends on your RAM size. Here is how to fix the cache capacity use for your Firefox.

  1. Start up Firefox
  2. Type about:config in the address bar and hit Enter
  3. In the filter, enter this string browser.cache.memory.capacity
  4. If you set to 0, Firefox will not cache any pages. If you want to customize to other value, read here.

Note: browser.cache.memory.enable must be True if you decide to change the integer.

3. Limit pages stored in memory
Every page you viewed will be stored in memory. Although it looks like the same as cache, but it is differ. Firefox will save the page you visited in memory to let improve its performance when you click Back and Forward button. The string that handles this setting is browser.sessionhistory.max_total_viewers

  1. Start up Firefox
  2. Type about:config in the address bar and hit Enter
  3. In the filter, enter this string browser.sessionhistory.max_total_viewers
  4. By default, it was set to -1 which mean, Firefox will automatically decide maximum pages to be stored in memory. Change the value to 0 will stop Firefox from store any pages in memory. If you want to use other value, read here for more info.

4. Use less extension
This is really simple tips. Use to many extensions will let your Firefox to use more RAM. Use only extensions that you usually use to minimum the memory usage. Uninstall unwanted extensions because some of the extensions can cause memory leak. And upgrade your extensions to the latest version may fix the problems.

Extra Tips
Actually I want to make this as tip number 5 but it is not really a tip. It is just extra information about Firefox in dealing with memory. If you want to know your current memory usage, you can type this

about:cache?device=memory

in the address bar and hit Enter. Firefox will display your current number of entries, maximum storage size, storage in use and inactive storage. [tags]firefox, tips, tricks, memory, ram, extensions[/tags]

Stumble It!

Comments

  1. cool thx a lot man.I didi all that!!

  2. did it works on your comp?

  3. Hi,

    I didnt find the 3rd option anywhere.

    However second option should be browser.cache.disk.capacity which is 50000 default

    Rest is good

    Ashish

  4. what firefox version you are using? i use firefox 2. and there is browser.sessionhistory.max_total_viewers thingy inmy firefox config. 🙂

  5. Guess that was the problem i am using 1.5:)

  6. I’ve Stumpled it 🙂

  7. [Comment ID #15989 Will Be Quoted Here]

    thanks dude… 🙂

  8. sensibleguy says:

    well nothing works only ate even more ram

  9. Alien245 says:

    Mmm not bad except that ive only got 512mb ram 40gb hd xp3 vista look alike startup, logon\off screens, cursors, theme, scheme sounds, 3d flip, transparency, tooltip, side\tool\ deskbars & start menu, onscreen screensavers& amimations and to top it up full versions of a antispyware, adware antivirus, firewall, siteadviser, user account monitor& auto delete\save\encrypt\startup rearranagement or free-up ram space tools, virtual desktop to box in a test try of linux ubuntu or a few can’t-be-trusted programs like a p2p software (cant help handpicking great free stuff or a universal serial key unlocker to get the best out there. Most triple scanned manually and then automatically through a trusted multi-scan system over the internet, them is crippled permanently or tempererly to denie privelege or internet access). Ok then why is my firefox actting up? How about u get a way to have firefox portable and loads automatically from a flashdrive? Never worry about system ram or hd space agian, eh? Plz tell me how.

  10. Wow this is great stuff. Firefox is a huge resource waster so thanks a lot for this post.

  11. the first one worked like magic .. thnx a lot

  12. thanks for nice tips

  13. good information, Thank$ man, keep in touch $

  14. I use C Cleaner, a free registry cleaner software that supports Mozilla Firefox. This registry utility application controls memory usage of stored browsing history. By doing so valuable amount of hard disk space becomes available for the operating system to work properly.