Reducing memory usage – Firefox
Many times when I am using firefox on my low ram pc the working in background led starts to glow and system slows down its due to high resource consumption by firefox here are some tips you might find useful.
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.
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. The Session Manager extension allows you to close Firefox while maintaining the pages you have open.
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 be fixed in Firefox 2. Firefox 3 will likely use 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
Still experiencing problems?
- The standard diagnostic may resolve memory problems not specifically mentioned in this article.
enjoy keep visiting neeshu.com for more