13 Dec 2009

Memory resource fix for Firefox

I am not sure if I have already written and mentioned this in my earlier Firefox hacks post. But i am writing this in the enlightenment of those people who might have been facing high utilization of memory resources while using Mozilla Firefox. Firefox being an open source project, unlike other browsers can be optimized according to users requirements. In this post, i am going to show you how the high utilization of memory resource in Mozilla can be fixed. The tools used to demonstrate this are available freely on internet and not licensed versions.

One thing you may like about Mozilla is that these settings can be saved and restored or reused on other machines if you like... say your workplace. You may save the boookmarks, links, tweak settings etc in it and send it via mail or transfer it into another machine and restore or use those settings to have the same look and feel as you are at your home.

Heres a snapshot of my memory utilization of Firefox on my machine.

Step 1: To start with, the back end source code of Mozilla can be accessed by typing "about:config" on one of the tabs. Click "OK" or "I'll be careful, I promise" depending on the version of Mozilla you use.
Step 2: Download "Mozilla Optimizer 1.6.3" from Computer Base
or you can go ahead with the optimzations yourself to save the download time from the source codes. If you want to explore using the source codes, here they are

Preference name Value/ Boolean
nglayout.initialpaint.delay 100
content.notify.ontimer true
content.notify.interval 100000
content.notify.backoffcount 5
network.http.pipelining true
network.http.proxy.pipelining true
network.http.pipelining.maxrequests 8
network.http.max-connections 32
network.http.max-connections-per-server 8
network.http.max-persistent-connections-per-proxy 4
network.http.max-persistent-connections-per-server 2

To find the mentioned preference name, use the filter on top of the table and change the boolean or value as mentioned above. To save all these, you can can download the mentioned tool above and just install it once.

Now lets take a look at the performance of Firefox, attached is the snapshot below.

Step 3: (Optional) In case you are still not happy with the result, you can use one more tool to minimize that. But you should remember that this tool needs to be invoked each time you require to minimize the utilization and isn't one time activity unlike the above, which was code injected. Ensure that this tool is always when you open Firefoz, unless you wish to run it.
Search for "Firefox Ultimate Optimizer" in Google and you will find it. After running it, here is the memory utilization snapshot.

See, how easy it is. Happy hacking around.

Disclaimer: Use these tools and hacks at your own risks. I wont beheld responsible for any issues or concerns raised using these freely available tools.


comments powered by Disqus