Announcement!

Have you read the author's personal blog? FYI, his personal blog is written in Malay.

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!

Subscribe me feed! If you enjoyed this article, get latest updates via RSS feed or by email.

14 Responses to “4 Tips on How to handle Firefox Memory Usage”

  1. Ashish Mohta
    December 6th, 2006 | 12:11 am

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

  2. CypherHackz
    December 7th, 2006 | 12:02 am

    did it works on your comp?

  3. Ashish Mohta
    December 7th, 2006 | 9:18 am

    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. CypherHackz
    December 7th, 2006 | 3:19 pm

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

  5. Ashish Mohta
    December 7th, 2006 | 8:59 pm

    Guess that was the problem i am using 1.5:)

  6. Ben H
    December 26th, 2006 | 2:27 am

    I’ve Stumpled it :)

  7. CypherHackz
    December 27th, 2006 | 12:53 am

    [Comment ID #15989 Will Be Quoted Here]

    thanks dude… :)

  8. b00giep0p » Blog Archive » Firefox extentions for admins and hacker
    March 8th, 2007 | 7:00 pm

    [...] guy, and I really don’t want to bog my browser down; too many extensions can cause problems. So here’s the list of extensions I use to meet my wants and desires. I’ve broken the [...]

  9. sensibleguy
    December 30th, 2007 | 9:05 am

    well nothing works only ate even more ram

  10. Alien245
    March 16th, 2008 | 2:46 pm

    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.

  11. Facebook Babes
    May 9th, 2008 | 4:31 am

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

  12. max
    September 13th, 2008 | 7:43 pm

    the first one worked like magic .. thnx a lot

  13. fuh.0lx.net
    January 11th, 2009 | 4:02 pm

    thanks for nice tips

  14. yuli
    April 16th, 2009 | 8:51 am

    good information, Thank$ man, keep in touch $

Leave a Reply