Tuesday, August 12, 2008

Make Firefox Faster and Fix Memory problems

Make Firefox Faster
1. Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:
network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests
Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:
Set “network.http.pipelining” to “true”
Set “network.http.proxy.pipelining” to “true”
Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.

3. Lastly 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 receives.

If you’re using a broadband connection you’ll load pages Much faster now

High CPU and Memory Use? Try This Fix.

1. Remove unwanted Extensions and themes
Extensions and themes can cause Firefox to use more memory than it normally would. Starting Firefox in Firefox Safe Mode and observing its memory usage, will tell you whether extensions and themes are significant memory consumers for you

2. Update Plugins
Older versions of plugins can consume large amounts of memory. You should make sure you're using the latest versions of your plugins.

3. Clear Download History
Firefox can use excessive memory if you have a large download history. The solution is to simply clear your download history.
  1. At the top of the Firefox windowOn the menu bar, click the Tools menu, and select Clear Private Data.... The Clear Private Data window will open.
  2. In the Clear Private Data window, select Download History and deselect the other items.
  3. Click Clear Private Data Now.

4. Configure Firefox Properly

All the following tips can be achieved by typing in about:config in the Firefox address bar.

(I)Browser.cache.memory.capacity-

Controls the maximum amount of memory to use for caching decoded images and chrome (application user interface elements).
This determines if and how much system ram Firefox will use to cache itself. The element does not exist and has to be created. The default value is set to automatic which means that Firefox uses a certain amount of RAM by default. (values for Firefox 2.x)
• 32 MB of RAM -> 2 MB
• 64 MB of RAM -> 4 MB
• 128 MB of RAM -> 6 MB
• 256 MB of RAM -> 10 MB
• 512 MB of RAM -> 14 MB
• 1024 MB of RAM -> 18 MB
• 2048 MB of RAM -> 24 MB
• 4096+ MB of RAM > 32+MB
(II)Browser.sessionhistory.max_entries
o Firefox 2.x saves the last 50 visited websites of a single session in memory which means that it could add up quickly if you visit lots of content filled websites.
o Reduce the amount of websites that are stored this way to reduce the memory consumption. It does not make a huge difference for most surfing habits to reduce the figure to 5 or 10.

(III)Browser.sessionhistory.max_total_viewers
o Automatically determine the maximum amount of pages to store in memory based on the total amount of RAM.
o If you have 64 MB or Ram 1 page is stored in memory, 2 for 128 MB, 3 for 256 MB, 5 for 512 and 8 for everything higher than that figure.
o If you never navigate using the Back and Forward buttons in Firefox you can set this value to 0 to disable the feature.
o Otherwise reduce the amount of pages stored in memory to make this feature use less memory.
(IV)Config.trim_on_minimize
• This preference determines whether to allow Windows to reclaim memory from a minimized Mozilla application.
• Set to True if you want to free up memory when minimizing Firefox.
• The value does not exist by default, simply create it and set it to true for better memory management

No comments: