6

Whenever I leave Firefox open for more than a day or so, the memory usage always climbs up to illustrious heights. I have plenty memory (48GB) on my 64 bit machine, but for a 32 bit process this is useless anyway.

When usage becomes above 1GB Firefox becomes slower (it takes whiles before it shows typed characters, it may take seconds before it reacts to focus or tab change etc).

  • Is it possible to have Firefox use less memory?
  • Would that than limit usage or performance?
  • Isn't it a problem for 32-bit processes to reach above the 2GB limit?

Using most recent version of FF 6, but this issue was around for all versions I can remember.

enter image description here

 

PS (edit): just tried once more to kill all but a few tabs, and this actually increased the memory usage up to 2.5GB. Clicking "minimize memory usage" on about:memory doesn't help even a bit.

Abel
  • 1,562

4 Answers4

3

I have been running into this problem in Firefox for years. I use SessionManager to be able to recover after I forcibly crash Firefox and restart it, because I haven't found a reliable way to prevent Firefox from gorging on memory. There are plenty of extensions that purport to plug the memory leaks, though they usually only last for so long before Mozilla changes things to break them.

Today, while being irate at this issue and looking around SuperUser, I found an article that seemed to have something useful. 20 minutes in, and memory usage has stayed around 500mb, and it was ~3GB before I tried the setting. I did have to crash and restore Firefox though. I think the magic came from one or all of these settings:

Type “about:config” in your browser bar and adjust the following preferences (by double clicking on them) to free up some additional memory:

browser.cache.memory.capacity (set to 0)
browser.cache.memory.enable (set to false)
browser.sessionhistory.max_total_viewers (set to 0)
browser.tabs.animate (disable)

There are also a smattering of other settings on that article that seem useful.

3

•Isn't it a problem for 32-bit processes to reach above the 2GB limit?

The limit for a 32-bit process is actually 3GB( 4GB on a x64 operating system ). Are you sure you have 48GB of memory that seems really high if your getting a performances issues with a process taking only 1GB of memory.

Have you tried running the 64-bit version of Firefox?

How many tabs do have open exactly? What is the contents of those tabs? What in the world are you doing that allows Firefox to use 2GB of memory in the first place?

Ramhound
  • 44,080
1

You might try upgrading to a later version of Firefox. FF7 is supposed to be released today [1], so you could start there—I think it was supposed to bring memory improvements. If that doesn't work, you could try upgrading to either of the Beta or Aurora channels. I'm currently on Aurora, and it's worked very well for me. Barring that, I guess I'd see if anyone on support.mozilla.org can help you.

EDIT: Firefox 7 has been released now, so you should just need to update Firefox to try it out.

zpletan
  • 984
1

In my case, the PDF plugin and the flash plugin was causing the memory troubles. Still don't know why they use memory of firefox.exe, and not from plugin-container.exe, but browsing for 24 hours with on average 40 tabs, but without many animations and youtube videos, kept the memory to a "reasonable" 800MB.

Abel
  • 1,562