Saturday, October 20, 2007

Firefox annoyances and speed-up hacks

I was having a terrible experience with Mozilla firefox recently. Even after updating it to latest version, some of my own problems weren't solved. So, i was reading a book on Firefox hacks and i was astonished to find that it worked with the solutions given. Today, i'm sharing em with my readers. Hope that would work.

My problems :
1. Firefox crashing all the time, when some plugins loaded or when so many websites open at the same time.
2. Lousy firefox startups(memory problems)
(please click the 'Read More' link below)

Solutions for my problems:

1. Firefox crashing all the time, when some plugins loaded or when so many websites open at the same time.

My solution: I was damn surprised that Firefox is not optimised for type of connection. It's just optimized for barely sustaining internet connection. I mean it would work great for Dial-up but i'm surfing net on broadband and when i tried to load so many many pages with multimedia streaming and so, for no reason it crashed all the time. I was about to take my hands off firefox but thank god, i found a solution.

- In firefox address bar, type 'about:config' (without quotes) and hit enter key.
(This shall reveal all the meat and bones of firefox. Don't mess with this up unless you know what you are doing or so far instructed)

- Scroll down and look for something like this below listed entries:
network.http.pipelining
network.http.proxy.pipelining
network.http.pipelining.maxrequests

- change the settings of those entries to:
"network.http.pipelining" to "true"
"network.http.proxy.pipelining" to "true"
"network.http.pipelining.maxrequests" to some number like 25. This means it will make 25 requests at once.
(You can put 20 or whatever you like to put. But don't put 100. You don't want to open 100 sites at once. Do you? i just put it to 25, it's my need)
(Note: you can double click to change the value or right-click those entries and select 'Toggle')

Finally, right-click anywhere and select New-> Integer.
Name it "nglayout.initialpaint.delay" and set its value to "0".
(This value is the amount of time the browser waits before it acts on information it recieves.)

Now for broadband users like me, there will be no problem loading as many pages and contents and it is definitely speeding up all my browsing experience.

Regarding Memory leak, instead of tweaking things inside about:config, it's better to restart the firefox itself.
My firefox is eating nearly 88 MB of RAM


2. Lousy firefox startups(memory problems)

Firefox takes up memory according to the system memory available. Bigger the RAM, bigger the amount it takes to ensure the better performance. If firefox is used on less RAM, it'll consume lesser RAM available. Knowing this fact, it's useless to tinker with the settings to free up the RAMs it uses which is different by system to system.
So, the only trick is to restart the Firefox.

0 comments:

Copyright © 2014
Designed by Navin