For most users, Firefox doesn’t use an abnormally large amount of memory. For others, however, Firefox’s memory consumption is a major problem. This article discusses how to lower Firefox’s memory consumption.
Firefox caches objects for future use. In addition, memory becomes fragmented as memory is repeatedly allocated and deallocated. This general increase is normal.
Normal Firefox memory usage reported by Windows might be as high as 100-150 MB. These numbers will vary because Firefox is configured by default to use more memory on systems that have more memory available and less on systems with less. If you experience substantially more usage than this, there may be a problem, or you may just be viewing pages with large amounts of data.
* 1 Extensions and themes
* 2 Plugins
* 3 System extensions
* 4 Download history
* 5 Settings that reduce memory usage
* 6 Restarting Firefox
* 7 Memory leaks
* 8 Virtual memory
* 9 Safety first
* 10 Still experiencing problems?
* 11 External links
Extensions and themes
Observing memory usage while Firefox is in safe mode may help tell you whether one of your extensions or themes is causing memory problems (but will not uncover memory usage by #Plugins). If you find a significant reduction in memory usage, you may be able to find updates for your extensions and themes or alternative extensions and themes that use less memory. You should also review the list of extension-specific problems. Failing that, uninstalling the extensions and themes is an option.
Plugins can cause Firefox to use more memory when they’re used and may not release their memory until Firefox is closed. It’s a good idea to make sure you’re using the most recent version of every plugin. To save the maximum amount of memory, uninstall any unnecessary plugins. Or you can block/control specific instances of memory usage, such as for Flash Player, via extensions or configuration options. Flash images in particular are pervasive in modern web pages (as ads, videos, etc) and so are a common source of memory usage. Here’s some plugin-specific information.
* Reducing Adobe Reader memory usage
* Shockwave memory usage
* Flash memory usage
* Java memory usage
WindowBlinds can dramatically increase memory use. To continue using WindowBlinds and Firefox without memory issues, add Firefox to WindowBlind’s exclusion list.
Memory usage can increase and Firefox can slow down or hang if the download history is allowed to accumulate . Clear the download history (you may need to exit Firefox and delete the file “downloads.rdf” from the profile folder in some cases ) and change this setting to circumvent the problem:
* “Tools -> Options -> Privacy -> Download History -> Remove Files from the Download Manager”, select: “Upon successful download”.
Settings that reduce memory usage
Changing the about:config preferences below may have an effect on memory consumption but may also affect performance or reduce functionality. Read each article for the preference’s effects. Each preference includes an estimate of the amount of memory that can be freed on an average (512MB RAM) system by choosing the most memory-friendly setting.
Preference Max memory freed
browser.cache.memory.capacity and browser.cache.memory.enable 14MB
The config.trim_on_minimize setting (Windows only) does not reduce the amount of memory used, it just swaps memory from RAM to disk. This may make Firefox slow to “wake up”. If config.trim_on_minimize is left set at the default value (false), the memory will be swapped to disk only if it is needed by another application. Therefore, for most purposes the default value is recommended.
The RAMBack extension, available for Firefox 3, allows the user to manually free memory, such as caches, that is usually used to increase performance. This gives the advantage of small cache sizes without having to always suffer the performance hit.
If you find that Firefox’s memory usage continues to grow after long periods of being open, you may want to consider periodically restarting Firefox to bring the memory usage back to reasonable levels. Close Firefox and select the Save and Quit option to reopen your tabs when Firefox restarts.
Memory leaks can cause Firefox not to release memory that it is no longer using, especially with older versions. There has been a lot of effort to reduce the leaks in recent versions, and Mozilla developers have have created tools to detect them.   To minimize leaks, you should upgrade to the most recent version. The most common memory leaks appear to have been fixed in Firefox 2.  Firefox 3 uses even less memory than Firefox 2 due to more memory leak fixes and further efforts to reduce memory usage.    
Some Windows users have problems with Firefox memory usage because they have virtual memory turned off or have a paging file that is too small. These articles provide additional information:
* Windows 98 & WinME Memory Management
* Virtual Memory in Windows XP
Some precautions that you can take that will help reduce misuse by websites on your machine
* [Windows] Blocking Unwanted Parasites with a Hosts File
* Adblock Plus extension, with at least one filter subscription such as EasyList, also effective against most unwanted pop-ups.
Still experiencing problems?
* The standard diagnostic may resolve memory problems not specifically mentioned in this article.
* Firefox Memory Usage FQA at PluginDoc Archive copy Template:Dead link
Retrieved from “http://kb.mozillazine.org/Reducing_memory_usage_-_Firefox”
Categories: Performance – Firefox | Issues (Firefox)