Firefox - Reducing Memory Usage

How to Reduce Firefox Memory Usage in Windows 7
   Information
When you use the computer, probably running many software, each of them needs ram memory. RAM is very important , because the faster the frequency of the RAM the faster the software runs. In this tutorial we will move Firefox to your hard drive instead of memory when you minimize it. When we do that, firefox will take up much less ram memory.





Here's How:
1. Open a new tab in Firefox, then type in about:config in the address bar and press enter.

2. After this, a warning message will appear. Click on I´ll be careful, I promise !.

3. In about:config settings, right click anywhere and select New and Boolean as shown below.

4. In New boolean value, type config.trim_on_minimize and click on OK.

5. Select true and click on OK.

6. Close and restart Firefox for these settings to take effect.
 
Last edited by a moderator:
Thanks for the tutorial. There are a few things that may be worth pointing out about using this setting.

First. if you don't wish to edit about.config you can create a file called user.js and place it in your firefox profiles directory. edit the file an enter the following line:

user_pref("config.trim_on_minimize", true);

Save the file and restart firefox. Essentially any configuration changes you want to make to aboout.config can be made by entering the appropriate setting in user.js.

Second. making this change does not actually reduce the amount of memory fx uses, it just swaps memory from RAM to disk. From the Mozillazine KB:

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.
There are also other settings which also play an important part in controlling fx memory, please look at:

Code:
[URL="http://kb.mozillazine.org/Browser.cache.memory.capacity"]browser.cache.memory.capacity[/URL]
[URL="http://kb.mozillazine.org/Browser.cache.memory.enable"]browser.cache.memory.enable[/URL]
[URL="http://kb.mozillazine.org/Browser.sessionhistory.max_total_viewers"]browser.sessionhistory.max_total_viewers[/URL]
Finally you may also want to look at the Ramback utility:

https://addons.mozilla.org/en-US/firefox/addon/5972

Hope this helps.
 

My Computer

Computer Manufacturer/Model Number
Generic
OS
Clients: XP/Win7/ubuntu
CPU
E8400
Motherboard
Gigabyte EP35-DS3R
Memory
4Gb HyperX
Graphics Card(s)
ATI 4850
Sound Card
Onboard
Monitor(s) Displays
Samsung P970
Screen Resolution
1280 by 1024
Hard Drives
Samsung SATA-II 500Gb x 3
PSU
Corsair HX520
Case
chieftec
Cooling
Zalman
Keyboard
Logitech
Mouse
Logitech
Internet Speed
512kb
Since version 3 of firefox, it has had similar technology to free up memory used by the program so Ramback isnt necessary. Note also that that addon is 3 years old.
 

My Computer

Computer Manufacturer/Model Number
self built
OS
Windows 7 Professional 64-bit
CPU
Intel E8400 3GHz
Motherboard
Intel DX48BT2
Memory
Kingston PC3-10700H 4Gb
Graphics Card(s)
XFX Radeon HD 5850 BlackEd.
Sound Card
Asus Xonar DG
Monitor(s) Displays
2x Samsung SM-T220HD 22"
Screen Resolution
1680x1050 on two monitors
Hard Drives
OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb
PSU
Thermaltake ToughPower 850w
Case
Thermaltake Armor
Cooling
Scythe Mugen II
Keyboard
Microsoft Comfort Curve USB
Mouse
Razer Diamondback 3G
Internet Speed
8128/443
Since version 3 of firefox, it has had similar technology to free up memory used by the program so Ramback isnt necessary. Note also that that addon is 3 years old.

Agreed, I only made reference to Ramback for completeness. The Add-0n is still compatible:

Works with:


  • Firefox: 3.0a8pre – 3.6a1pre

One other thing that I should have mentioned in my previous post is that the config.trim 'hack' actually hasn't worked since firefox 3 was released. There are numerous posts regarding this on the Mozilla forums, here's an example:

How do I (Firefox 2 behavior in Firefox 3) • mozillaZine Forums
 

My Computer

Computer Manufacturer/Model Number
Generic
OS
Clients: XP/Win7/ubuntu
CPU
E8400
Motherboard
Gigabyte EP35-DS3R
Memory
4Gb HyperX
Graphics Card(s)
ATI 4850
Sound Card
Onboard
Monitor(s) Displays
Samsung P970
Screen Resolution
1280 by 1024
Hard Drives
Samsung SATA-II 500Gb x 3
PSU
Corsair HX520
Case
chieftec
Cooling
Zalman
Keyboard
Logitech
Mouse
Logitech
Internet Speed
512kb
4-5 mb? realy need?
whithoyt this - 12mb! del this script
 

My Computer

Computer Manufacturer/Model Number
ASUSTeK Computer INC. P5KC
OS
Windows Seven Professional
CPU
Intel(R) Core(TM)2 Duo CPU E8400 @ 3.0
Motherboard
ASUSTeK Computer INC.
Memory
2048 Мб
Graphics Card(s)
NVIDIA GeForce 8600 GT
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
SyncMaster 2043NW/2043NWX
Screen Resolution
1680x1050
Internet Speed
2.2 Mbitp/s
Are there any other about:config tweaks anybody would recommend to speed firefox up?
 

My Computer

Computer Manufacturer/Model Number
HP Pavilion dv4t-1400
OS
Windows 7 Ultimate x64
CPU
Intel P7350 Centrino 2 2.0 GHz
Motherboard
Intel 4 Series Chipset
Memory
4 GB
Graphics Card(s)
Intel
Sound Card
IDT HD
Monitor(s) Displays
14.1" HP BrightView
Screen Resolution
1280 x 800
Hard Drives
250 GB WD Int. & 250 GB Toshiba Ext.
Cooling
Belkin Laptop Cooler
Mouse
Microsoft IntelliMouse Explorer 4.0
PLEASE HELP

i have a similar prob...i remeber using some feature in my windows 7 which had the option like
i paid for my RAM, make full use
conserve ram or use less ram(something like that)
The first option was default selected i applied the second one.......ever since my desktop gadgets and object dock have started to lag and when i use firefox(esp when i start FB games)... the screen flashes and aero dissappears ....it comes back as soon as firefox is shut
 

My Computer

Computer Manufacturer/Model Number
lenovo
OS
windows 7
CPU
IBM
Motherboard
HIS
Memory
@gb ram
Graphics Card(s)
256mb
Hard Drives
500gb
Back
Top