Control Your Firefox RAM Usage
on Wednesday, January 16th, 2008 at 5:01 pmMozilla Firefox is a web browser project descended from the Mozilla application suite, managed by the Mozilla Corporation. Firefox had 16.80% of the recorded market share in Web browsers as of December 2007, making it the second-most-popular browser in current use worldwide.
Background
On Windows operating systems, when a program is minimized and left for a period of time, Windows will swap memory the program is using from RAM onto the hard disk in anticipation that other programs might need RAM. Because of the way Mozilla applications are stored in memory, Windows is much more aggressive in swapping out the memory they use, which can cause a delay when the program is restored.
The “Config.trim_on_minimize” preference determines whether to allow Windows to swap out memory from a minimized Mozilla application.
Possible values and their effects:
true — Allow Windows to swap out memory when the program is minimized.
false — Prevent Windows from swapping out memory when the program is minimized. (Default)
This preference does not exist by default, in order to change it’s default value:
- Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
- Right Click in the page and select New -> Boolean.
- In the dialog box that pops up, enter config.trim_on_minimize and hit Enter.
- Now set value to True.
- Restart Firefox.
Setting this preference to true has it’s advantages
If you’re experiencing problems with the application consuming too much RAM (Mem Usage in the Windows Task Manager), you can try setting this preference to true.
and disadvantages
Now, Firefox would use very less memory, which is very evident from the Task Manager too, however, when you restore Firefox again, it takes more time as everything needs to be brought back .
So, it’s better not to enable trim_on_minimize if you have a decent enough system.
5 Comments »
[...] http://joeabiraad.com/mozilla-firefox/control-your-firefox-ram-usage/113 [...]
If you limit the memory usage too much, will it cause FireFox to crash using this?
Hi Adam,
I have been using this trick for more then 9 months on windows OS, and many of my friends did this too with many other helpful tricks, and i haven’t noticed any crash by mozilla firefox.
Anyway i guess Firefox, being an open source application, is build in a way to let the advanced users customize the behavior of their own browser…
So it wont crash
Cheers !!
Good post. I have seen it on my computer too. An increase of memory is always good and improves the performance of other computer or laptop!
As came to this site, I saw this website below which also deals with the subject!
http://bargainhere.net/laptop-memory/
RSS feed for comments on this post. TrackBack URL