Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Firefox memory useage  (Read 3752 times)

0 Members and 1 Guest are viewing this topic.

rthompson80819

    Topic Starter


    Specialist

    Thanked: 94
  • Experience: Experienced
  • OS: Windows 7
Firefox memory useage
« on: September 07, 2009, 05:31:14 PM »
Why is that the longer FF is left on the more memory useage it takes.  I've got enough memory that it is not causing problems and I have read about several work arounds for this trait.  But I have never read a good explanation why it happens.

I usually keep 3 to 4 tabs open.  When I first open FF it uses ~100K, then a couple days later it's up to ~200K, then a few days later it's up to 300K with generally the same tabs open.

Why the growth?

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Firefox memory useage
« Reply #1 on: September 07, 2009, 07:28:22 PM »
FF saves the pages that are in a tabs history in RAM. (for example, when you press back, it loads the page from memory)

so the more browsing yo do /tabs you have open, the more ram it consumes.

For example, I have 22 tabs open, of which about 10 have fairly deep history queues- FF is consuming 596,116 KB.

However- even closing the tabs doesn't help- because it saves the tabs you've closed, too. (probably just hides the buttons). This is why it constantly rises. there is a "browser.sessionstore.max_tabs_undo" that can be changed with about:config that might help to reduce RAM usage from getting too high from a large number of tabs.

I was trying to dereference Null Pointers before it was cool.

rthompson80819

    Topic Starter


    Specialist

    Thanked: 94
  • Experience: Experienced
  • OS: Windows 7
Re: Firefox memory useage
« Reply #2 on: September 07, 2009, 07:36:15 PM »
OK, thanks.  Makes sense now.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Firefox memory useage
« Reply #3 on: September 07, 2009, 08:59:49 PM »
You can also disable session manager which is remembering where you are at and is designed to take you back there if Firefox or the machine is turned off unexpectedly...
Nice feature but it also gobbles up resources...
" Anyone who goes to a psychiatrist should have his head examined. "

geek hoodlum



    Apprentice
  • Thanked: 25
    • Yes
  • Experience: Familiar
  • OS: Windows 7
Re: Firefox memory useage
« Reply #4 on: September 07, 2009, 09:11:22 PM »
hi patio, i'm looking  in my Firefox options now but can't figure out the session manager thingy, can you please teach me how to disable it?

or is this exactly what you mean? Options window - Privacy panel

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Firefox memory useage
« Reply #5 on: September 07, 2009, 09:48:59 PM »
I apologise...
I forgot it is an extension/addon for Firefox...
If you don't see it on that page then it's not installed...
" Anyone who goes to a psychiatrist should have his head examined. "

geek hoodlum



    Apprentice
  • Thanked: 25
    • Yes
  • Experience: Familiar
  • OS: Windows 7
Re: Firefox memory useage
« Reply #6 on: September 07, 2009, 09:50:25 PM »
I see. Thanks!

billedwards

  • Guest
registry
« Reply #7 on: September 07, 2009, 09:51:37 PM »
You can also disable session manager which is remembering where you are at and is designed to take you back there if Firefox or the machine is turned off unexpectedly...
Nice feature but it also gobbles up resources...
 http://windowsxp.mvps.org/registry.htm

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Firefox memory useage
« Reply #8 on: September 07, 2009, 10:02:05 PM »
too bad that link is completely irrelevant...
I was trying to dereference Null Pointers before it was cool.

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Firefox memory useage
« Reply #9 on: September 07, 2009, 11:40:04 PM »
Number of add-ons is another culprit. The more you have, the bigger RAM usage.
Some add-ons are known for memory leaks. List: http://kb.mozillazine.org/Problematic_extensions
Experimental add-ons acquired through GreaseMonkey are the worst.