Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member
    Join Date
    Sep 2006
    Location
    Zurich, Switzerland
    Posts
    794

    Web interface, Firefox, memory growth

    I guess that this must be a Firefox bug but it is the first time I have come across it. If I leave the web interface open in Firefox, refresing the various frames periodically as it does, over time the size of my Firefox process grows until I have to kill it. Is there something about the way the refresh stuff is written that it provokes a memory leak in the browser?

  2. #2
    Senior Member
    Join Date
    Oct 2006
    Location
    sheffield, uk
    Posts
    406
    Firefox leaks memory and if you hunt around on google you'll find it's a known issue unfortunately I've never had to quit it tho and that's leaving slimserver open with it refreshing itself for hours.

  3. #3
    Ben Sandee
    Guest

    Re: Web interface, Firefox, memory growth

    Generally, I believe it has been found that it is Firefox that is causing
    the leaks. There is some anecdotal evidence that 6.5 has improved this by
    not using certain 'buggy' scripting techniques for refreshing on Firefox.
    You don't say what version you are running for any of the products involved
    (Firefox, SlimServer) so others may not have many more specific suggestions.

    You might find that Firefox by itself doesn't cause the leak but one of your
    installed extensions does. Firefox cannot guard against a buggy extension.

    Ben


  4. #4

  5. #5
    Senior Member
    Join Date
    Sep 2006
    Location
    Zurich, Switzerland
    Posts
    794
    A couple of bits of version info:

    SlimServer Version: 6.5.0 - 9916 - Linux - EN - utf8
    Perl Version: 5.8.8 i386-linux-thread-multi
    MySQL Version: 5.0.21-standard

    running on Linux FC5.

    Firefox 1.5.0.7 under Windows XP and on Linux FC5.

    The 'leak' is progressive over a very long period and seems significantly worse on Linux than on XP (although it may be that the XP machine has more memory and I just havn't noticed). I am sure that it is related to the caching of multiple page histories in multiple tabs.

  6. #6
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    599
    I see the same thing. I've reverted to using IE for SS (6.2.1) access.

    But it's certainly not just SS that does this with FF. Pretty much any auto refreshing page seems to make FF grow to a lesser or greater extent.

    Steve.

  7. #7
    Senior Member radish's Avatar
    Join Date
    Apr 2005
    Location
    Red Bank, NJ
    Posts
    5,052
    I've had similar problems with FF on XP, but never with Slimserver (I rarely leave it open for long enough). I have however noticed that FF memory usage is much improved in the last few point releases.

  8. #8
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    599
    Quote Originally Posted by oreillymj View Post
    Even with the above suggestion to "Kill the amount of RAM Firefox uses for itĺs cache feature" I can still watch FF growing at a really quite phenomenal rate. It's at 230MB at the moment and I've only had it running for about 4 hours.

    Steve.

  9. #9
    Senior Member stinkingpig's Avatar
    Join Date
    May 2005
    Location
    Berkeley, CA
    Posts
    833

    Re: Web interface, Firefox, memory growth

    On 10/16/06, SteveEast <
    SteveEast.2fso4n1161042001 (AT) no-m...limdevices.com> wrote:
    >
    >
    > oreillymj;146688 Wrote:
    > > Some reading material on the subject
    > >
    > >

    > http://element14.wordpress.com/2006/...ove-mem-usage/
    > >
    > >

    > http://forevergeek.com/open_source/d...y_leak_bug.php
    >
    > Even with the above suggestion to "Kill the amount of RAM Firefox uses
    > for it's cache feature" I can still watch FF growing at a really quite
    > phenomenal rate. It's at 230MB at the moment and I've only had it
    > running for about 4 hours.
    >
    >

    What extensions are you using? My Firefox is usually between 100 and 150 MB,
    with Searchbar Autosizer, Download Manager Tweak, TabX, and Session Manager.
    I average 4-10 open tabs.

    --
    "I spent all me tin with the ladies drinking gin,
    So across the Western ocean I must wander" -- traditional


  10. #10
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    599
    Quote Originally Posted by Jack Coates View Post
    What extensions are you using? My Firefox is usually between 100 and 150 MB,
    with Searchbar Autosizer, Download Manager Tweak, TabX, and Session Manager.
    I average 4-10 open tabs.
    Talkback, Forecastfox, IE Tab, Adblock, ChatZilla. 4-8 tabs.

    I see slow growth when I don't run SS in FF, but dramatic growth when I do. It normally takes me several days to reach 150MB, at which point I restart it.

    Steve.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •