May 22nd, 2008

Simple Firefox Memory Tricks

Tips & Trik, by Afif Whelly Artis Sandi.

Dapet info dari tetangga sebelah tentang bagaimana mengoptimalkan memori Firefox.

Hello, I’m going to be teaching you today how you can dramatically decrease your Firefox RAM(Random Access Memory) usage.

Okay, what we need to do is first understand what we want to do. There numerous ways you can do this, however there are also other things which can decrease the disk usage and this is to completely put Firefox’s memory usage onto RAM in the event that you actually do have enough of it (usually over 1gig).

Like my self thou, I’ve only got 512MB DDR2 RAM and it’s not that much. Plus we all know about them common “Firefox Memory Leaks” don’t we? If not then you’re not using it much and are most likely using another browser (hopefully not IE).

Right now we’re going to get starting as all this random talking is rather boring most likely. I’m sorry but that, now to get started you can following the steps as follows under what you’re currently reading. These steps will first help you find your way to the Firefox Config panel, and then lastly help in decreasing either your RAM usage, or the disk usage of your Firefox among other things.

—-

(1): about:config

In Firefox please type the following ‘about:config’ into the address bar to access the hidden config options.

AfifWhelly.com

(2): browser.cache.memory.capacity

This controls the amount of memory which is used to cache pages.

Right click on the page and choose New then Integer and create an integer called ‘browser.cache.memory.capacity’ and set it to a low number. This then controls how many kilobytes of memory are to be used for the browser’s cache. => http://kb.mozillazine.org/Browser.cache.memory.capacity

[Note]: The number in the following screenshot is too small. Aim for around 80% of whatever the default is.

AfifWhelly.com

(3): browser.cache.disk.capacity

This controls how much disk space is used to cache pages in kilobytes. => http://kb.mozillazine.org/Browser.cache.disk.capacity

Set browser.cache.disk.capacity to between 5000 or 15000 depending on your RAM(Random Access Memory) Amount.


| 128MB to 512M -> 5000.
| 512BM to 1GB of RAM -> use 15000

AfifWhelly.com

(4): config.trim_on_minimize

Configure Firefox to swap memory to disk when minimized. This will make Firefox less responsive if you minimize/maximize a lot, but it is good if you need to free memory while multi-tasking to other applications.

Right click on the page and choose New then Boolean and create a boolean called ‘config.trim_on_minimize’ and set it to true. Now when you minimize the window it will free up memory. => http://kb.mozillazine.org/Config.trim_on_minimize

AfifWhelly.com

(5): network.prefetch-next

Network link prefetch will download all pages with the rel=’prefetch’ tag. => http://developer.mozilla.org/en/docs/Link_prefetching_FAQ This uses up more memory than you would otherwise think.

Set ‘network.prefetch-next’ to false.

AfifWhelly.com

(6): browser.sessionhistory.max_total_viewers

This controls how many pages of history are kept in the back/forward buttons. => http://kb.mozillazine.org/Browser.sessionhistory.max_total_viewers Lower the value to something acceptable. If you do not use back/forward often then you can set this very low.

Set ‘browser.sessionhistory.max_total_viewers’ to a low number.

AfifWhelly.com

—-

Well that is all for now, I hope you enjoyed reading ;)

Thank you very much for reading my article, if there is anything that you want to know about Firefox then don’t hesitate to ask me either on IRC or MSN @ x2Fusion@TheDefaced.org

-x2Fusion

Back Top