April 4, 2006

Reduce Memory Usage In Firefox

Firefox fixed a number of memory leaks in version 1.5.0.1, so make sure you have the latest stable version. Now let's optimize Firefox to use less memory and to work faster.

Type about:config in the address bar.

* create a new boolean entry config.trim_on_minimize and set it to true
* set browser.cache.memory.capacity to a fixed size (the default values are: for 256 MB RAM - 14336, 512 MB RAM - 22528, 1 GB RAM - 32768). A good value to try is 16384.
* set browser.sessionhistory.max_total_viewers to 0
* change image.animation_mode to none

Go to Tools/Options.

* set the disk cache memory to a low value (less than 50 MB)
* turn off Java
* try to avoid these extensions: Adblock, Fasterfox, IE Tab, Session Saver. Use Adblock Plus instead of Adblock.
* don't use more than 5 extensions

Using these tips, I could make Firefox use 50 MB of RAM on average, from more than 100 MB of RAM before.

If you want to fully optimize your memory, you should try FreeRAM XP Pro, a free program that recovers memory leaks.

7 comments:

  1. This is BAD!!!
    I couldn't access some internal sites using these tweaks!!! :O

    ReplyDelete
  2. Good stuff! My firefox has been running at sub 50MB mark for the entire day. Previous consumption - 150Mb+! Average tabs open at a time: 15.

    ReplyDelete
  3. ...or you use ff3.
    http://googlesystem.blogspot.com/2006/08/firefox-30-improves-memory-management.html

    ReplyDelete
  4. here's another site
    http://www.i-hacked.com/content/view/59/42/

    ReplyDelete
  5. Well, even on the latest Firefox 2, it doesn;t really work.

    type "about:cache?device=memory" into the addressbar and you'll see the amount of memory used...

    Current results for me right now:

    Number of entries: 391
    Maximum storage size: 24576 KiB
    Storage in use: 165796 KiB
    Inactive storage: 0 KiB

    Changing the cache maximum size doesn't really work.

    ReplyDelete
  6. It works great for me. Thank you.

    ReplyDelete
  7. Its working fine...

    Number of entries: 161
    Maximum storage size: 22528 KiB
    Storage in use: 6583 KiB
    Inactive storage: 776 KiB

    ReplyDelete

Note: Only a member of this blog may post a comment.