PDA

View Full Version : How to reduce the memory usage on Firefox?


View Full Version : How to reduce the memory usage on Firefox?


soulxtc
April 15th, 2007, 04:29 PM
How to reduce the memory usage on Firefox? (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#e-t)



This article gives you simple steps to optimize your PC memory usage


Most of the time, Firefox doesn't use abnormal amount of system memory, it sometimes due to other sources, like number of plug-ins, themes and extensions. It is also highly recommended that you have the latest version of Firefox as the memory usage is minimized. If you want to download the latest copy of Firefox, click here (http://www.mozilla.com/en-US/firefox/).

Follow these steps to check what is causing the abnormal memory usage:


Check your Extensions and Themes (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#e-t).
Check the Plug-ins (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#pi).
Clear Download History (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#dh).
Restart Firefox Periodically (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#ffp).
Assign Memory Cache on Firefox (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#mcf).

1. Check your Extensions and Themes:

If you have a number of Extensions and Themes installed on your Firefox, try to minimize them, remove those which are not in use or you don'g really need. You can check it by opening Firefox in safe mode. Here's how you do it:


Close your Firefox browser.
From the desktop, click Start > Run.



Key in, firefox -safe-mode.



You'll see a new window called "Firefox Safe Mode".



Just select the options displayed and if you click "Make Changes and Restart", Firefox applies changes and restarts in normal mode.
If you choose to select "Continue in Safe Mode" no settings will be applied.
If you choose to "Exit" the browser will just exit without saving any settings.
Back to top (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#)



2. Check the Plug-ins:

Firefox Plug-ins consume memory when in use. It is always important to check and update your plug-ins to the latest version. It is also good to uninstall all those plug-ins that are not in use.



Back to top (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#)


3. Clear Download History:

Keeping the Download History can cause extensive usage of memory and this can slow down or freeze Firefox.


Delete the "downloads.rdf" file to clear the download history.
You need to make a little change to the browser setting. Here's what you do:
Open Firefox browser.
From the menu bar, click Tools -> Options.



Click Privacy. Un-check the "Remember What I've downloaded" check box.



Back to top (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#)


4. Restart Firefox Periodically:

There might be a constant increase in the memory usage if you are using Firefox for a long period of time or handling multiple sessions.

Consider restarting your browser periodically so that it can maintain a constant memory usage.
Download and Install (http://sessionmanager.mozdev.org/) Session Manager Extension, which would save the current text data, history and cookies. It allows you to maintain the opened web pages when Firefox is closed.

Back to top (http://www.zolved.com/synapse/view_content/24939/How_to_reduce_the_memory_usage_on_Firefox#)


5. Assign Memory Cache on Firefox:

Firefox doesn't use memory cache and uses system memory by default, it is good to assign a fixed memory cache to reduce the usage of memory. Here's how you do it:


Open the Firefox browser.
Key in about:config in the address bar.

http://www.zolved.com/UserFiles/Image/Browsers/about-config%281%29.jpg
Key in browser.cache.memory.enable in the Filter field.

http://www.zolved.com/UserFiles/Image/Browsers/browser-cache-memory-enable.jpg
Ensure the value of the above item is set it true, if not, double-click on it to set it to true.
Right-click in the browser and select New -> Integer from the pop-up.

http://www.zolved.com/UserFiles/Image/Browsers/new-integer.jpg
Key in, browser.cache.memory.capacity, click OK.

http://www.zolved.com/UserFiles/Image/Browsers/browser-cache-memory-capacity.jpg
You need to enter a value here and that value depends upon the RAM your computer has.

http://www.zolved.com/UserFiles/Image/Browsers/browser-cache-memory-capacity-blank.jpg
if you have:
256MB RAM - Enter "4096".
512MB RAM - Enter "8192".
Note: If you have 128MB or less RAM then you need to upgrade your RAM. It is not very expensive.Important: If you want to restore to default settings then change browser.cache.memory.capacity value to -1 (minus 1).