Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Stop Firefox From Hogging Memory


  • Please log in to reply
33 replies to this topic

#1 nigglesnush85

nigglesnush85

  • Members
  • 4,371 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:UK
  • Local time:05:01 PM

Posted 26 March 2007 - 07:49 AM

Hello,

Just thought that I would share this with everyone.

Have you ever noticed that in the task manager Firefox takes up so much memory. here is a little tip to put it in its place.

PROCEED VERY CAREFULLY.

1 open firefox, type about:config and press enter

2 right click on the page and select new option then select Boolean

3 enter the following string config.trim_on_minimize press enter

4 find the value and make sure that it is set to true

5 restart firefox,

what this has done is when the user minimizes firefox, it will reduce its memory consumption.


Hope this helps
Regards,

Alan.

BC AdBot (Login to Remove)

 


#2 Commander Gman

Commander Gman

  • Members
  • 1,214 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:01 AM

Posted 28 March 2007 - 11:40 PM

Your right, it uses like 40,000 k but i dont get part 1
where do you type about:config?

Motherboard: MSI P35 Neo-F (Socket 775 LGA) Processor: Intel Core 2 Quad Q6600 @ 2.40 Ghz Kentsfield Chipset: Intel P35 Graphics Card: Nvidia Geforce GT 440 Memory: 2x 2GB DDR2 800 RAM Storage: 1x IDE 80GB, 1x SATA II 500 GB, 1x External 500GB HD Power Supply: 600W Power supply Monitor: Dual screen set-up Casing: Mini-ATX Fan(s): 1x 80mm silent fan OS: Windows XP SP3


#3 tg1911

tg1911

    Lord Spam Magnet


  • Members
  • 19,274 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:SW Louisiana
  • Local time:11:01 AM

Posted 29 March 2007 - 12:22 AM

In the address bar, Commander Gman.
MOBO: GIGABYTE GA-MA790X-UD4P, CPU: Phenom II X4 955 Deneb BE, HS/F: CoolerMaster V8, RAM: 2 x 1G Kingston HyperX DDR2 800, VGA: ECS GeForce Black GTX 560, PSU: Antec TruePower Modular 750W, Soundcard: Asus Xonar D1, Case: CoolerMaster COSMOS 1000, Storage: Internal - 2 x Seagate 250GB SATA, 2 x WD 1TB SATA; External - Seagate 500GB USB, WD 640GB eSATA, 3 x WD 1TB eSATA

Become a BleepingComputer fan: Facebook

#4 Commander Gman

Commander Gman

  • Members
  • 1,214 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:01 AM

Posted 29 March 2007 - 12:28 AM

Ok thanks tg1911 so im there the next thing is i dont get is right clicking but where? in the open space with lots of info?

Motherboard: MSI P35 Neo-F (Socket 775 LGA) Processor: Intel Core 2 Quad Q6600 @ 2.40 Ghz Kentsfield Chipset: Intel P35 Graphics Card: Nvidia Geforce GT 440 Memory: 2x 2GB DDR2 800 RAM Storage: 1x IDE 80GB, 1x SATA II 500 GB, 1x External 500GB HD Power Supply: 600W Power supply Monitor: Dual screen set-up Casing: Mini-ATX Fan(s): 1x 80mm silent fan OS: Windows XP SP3


#5 tg1911

tg1911

    Lord Spam Magnet


  • Members
  • 19,274 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:SW Louisiana
  • Local time:11:01 AM

Posted 29 March 2007 - 12:47 AM

Just click anywhere in the open window, mouse over New, and select Boolean.
In the box that opens, just paste this into it:
config.trim_on_minimize
Click the OK button.
Now, look for the entry you created (config.trim_on_minimize), and make sure it says true, under the Value column.
If it says false, just double-click the entry (config.trim_on_minimize), and it will change to true.
Close the about:config window.

Edited by tg1911, 29 March 2007 - 12:49 AM.

MOBO: GIGABYTE GA-MA790X-UD4P, CPU: Phenom II X4 955 Deneb BE, HS/F: CoolerMaster V8, RAM: 2 x 1G Kingston HyperX DDR2 800, VGA: ECS GeForce Black GTX 560, PSU: Antec TruePower Modular 750W, Soundcard: Asus Xonar D1, Case: CoolerMaster COSMOS 1000, Storage: Internal - 2 x Seagate 250GB SATA, 2 x WD 1TB SATA; External - Seagate 500GB USB, WD 640GB eSATA, 3 x WD 1TB eSATA

Become a BleepingComputer fan: Facebook

#6 Commander Gman

Commander Gman

  • Members
  • 1,214 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:01 AM

Posted 29 March 2007 - 01:04 AM

Ok thanks again tg1911 i was able to save more or less 20,000 k :thumbsup:

Motherboard: MSI P35 Neo-F (Socket 775 LGA) Processor: Intel Core 2 Quad Q6600 @ 2.40 Ghz Kentsfield Chipset: Intel P35 Graphics Card: Nvidia Geforce GT 440 Memory: 2x 2GB DDR2 800 RAM Storage: 1x IDE 80GB, 1x SATA II 500 GB, 1x External 500GB HD Power Supply: 600W Power supply Monitor: Dual screen set-up Casing: Mini-ATX Fan(s): 1x 80mm silent fan OS: Windows XP SP3


#7 tg1911

tg1911

    Lord Spam Magnet


  • Members
  • 19,274 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:SW Louisiana
  • Local time:11:01 AM

Posted 29 March 2007 - 01:10 AM

You're welcome, Commander Gman.
Glad to be of help.
MOBO: GIGABYTE GA-MA790X-UD4P, CPU: Phenom II X4 955 Deneb BE, HS/F: CoolerMaster V8, RAM: 2 x 1G Kingston HyperX DDR2 800, VGA: ECS GeForce Black GTX 560, PSU: Antec TruePower Modular 750W, Soundcard: Asus Xonar D1, Case: CoolerMaster COSMOS 1000, Storage: Internal - 2 x Seagate 250GB SATA, 2 x WD 1TB SATA; External - Seagate 500GB USB, WD 640GB eSATA, 3 x WD 1TB eSATA

Become a BleepingComputer fan: Facebook

#8 nyyanks

nyyanks

  • Members
  • 131 posts
  • OFFLINE
  •  
  • Local time:01:01 PM

Posted 03 April 2007 - 08:44 PM

Whoa thanks a lot
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein
US (German-born) physicist (1879 - 1955)

I support this theory and all others from Einstein (even his theory on a static universe)
Not really!

#9 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,091 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:01:01 PM

Posted 04 April 2007 - 07:23 AM

Thanks for the tip!

It works great in XP! I didn't notice any change at all when I did it in Vista.
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#10 Papakid

Papakid

    Guru at being a Newbie


  • Malware Response Team
  • 6,635 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:01 PM

Posted 28 May 2007 - 11:46 AM

I used this tip for a while but have reversed it. Had no ill effects at first, but over time Firefox became unstable. Changing the value back to false fixed that. Your mileage may vary, depending on what extensions you have installed and how many tabs and windows you have open at one time and other factors. From what I've read, it is common for extension writers to fail to test for memory leaks before they post the extension. Altho i think Firefox 2.x still leaks on its own.

Remember that this trick will only reduce Ff's memory consumption when you minimize the browser window(s). Whether left minimized or not, as long as the browser is open, memory consumption will steadily increase again until it is minimized again.

The thing about people

is they change

when they walk away.--Mipso


#11 Sc00by22

Sc00by22

  • Members
  • 147 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:06:01 PM

Posted 23 June 2007 - 03:51 AM

Thanks

#12 jannoth

jannoth

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:05:01 PM

Posted 03 July 2007 - 01:29 AM

Thanks nigglesnush85 , I've just installed it and seen a big reduction too 40,000K down to 3,000K - pretty good :thumbsup:

Thanks also Papakid - I'll pay attention to behaviour etc.

Edited by jannoth, 03 July 2007 - 01:29 AM.


#13 xcr0okedx

xcr0okedx

  • Members
  • 39 posts
  • OFFLINE
  •  
  • Local time:01:01 PM

Posted 03 July 2007 - 03:55 PM

i tried this ... memory usage dropped from 60,000 K to 6,000 K

but, i kept my task manager open and monitored Firefox.exe and i noticed it was steadily rising back up. Anyone know why this is? is it a leak from extensions ?

I use FF 2.0.0.4 with a whole lot of add-ons like:

NoScript
ADblock Plus
Redirect Remover
Dom Inspector
Download Statusbar
Download Them All
Fasterfox
IETab
Link Alert
Yahoo Toolbar
Bugmenot


Posted Image


#14 Patch-C

Patch-C

  • Members
  • 31 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Australia, Melbourne
  • Local time:03:01 AM

Posted 18 July 2007 - 03:08 AM

Awesome

#15 K()nT3nTs

K()nT3nTs

  • Members
  • 150 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:SoCal
  • Local time:12:01 PM

Posted 30 July 2007 - 01:15 PM

that was a very nice trick knocks off about 20k of usage.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users