Firefox memory leaks?

This is a discussion on Firefox memory leaks? within the Tech Board forums, part of the Community Boards category; After recent update to 3.0.11 i am seeing a lot of memory usage by Fx. For opening just 10 tabs, ...

  1. #1
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    493

    Firefox memory leaks?

    After recent update to 3.0.11 i am seeing a lot of memory usage by Fx.
    For opening just 10 tabs, it is around 300Mb. [it gets higher, and reaches as high as 500mb].
    Response is very slow at that point. Anybody else having similar problems?. I have a lot of extensions installed(firebug,webdeveloper,aadvark,etc,). Could that be causing the problem?.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,167
    I am experiencing very high CPU usage with Firefox on Linux (that caused slowdowns). I think it's due to the flash plugin, though. I installed a flash blocker and haven't noticed any slowdowns since then.

    If you can reproduce the slowdowns at will, you can just disable those extensions one by one and see.

  3. #3
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,794
    I can't seem to get the "When Firefox starts: Show windows and tabs from last time" option to work correctly... it only shows a blank page. I've only got noscript as a plug-in/extension.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  4. #4
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    493
    Thanks for the replies.
    I tried disabling all plugins still no improvement.(It starts with 50Mb initially and goes high like crazy). Time for a reinstall i guess..
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  5. #5
    int x = *((int *) NULL); Cactus_Hugger's Avatar
    Join Date
    Jul 2003
    Location
    Banks of the River Styx
    Posts
    902
    Firefox leaks, but it's a slow & gradual thing. Flash accelerates the process. (This is under Linux...) Session manager makes life easier - close firefox, open firefox, restore last session. Memory under control, for a while. (Like, a couple of days.) It's using about 150-200MHz worth of CPU at the moment.
    long time; /* know C? */
    Unprecedented performance: Nothing ever ran this slow before.
    Any sufficiently advanced bug is indistinguishable from a feature.
    Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
    The best way to accelerate an IBM is at 9.8 m/s/s.
    recursion (re - cur' - zhun) n. 1. (see recursion)

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,167
    I'm not sure if my firefox leaks memory. Memory usage does increase over a few days, but my number of tabs increases linearly, too. I usually close it and restart at about 40 tabs.

  7. #7
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Pretty much every build I've used has leaked... which is why I don't use Fire "Opps where did that pointer go?" Fox.

  8. #8
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,167
    When you have 4GB of RAM, the problem is a bit more bearable .

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Also, the 3.x was a massive improvement over 2.x. My own experience has been pretty much leak-free since I upgraded.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #10
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,794
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  11. #11
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by hk_mp5kpdw View Post
    That is good news for the forthcoming MKbulletin -- "The most resource heavy forum software in the universe!"
    Last edited by MK27; 06-18-2009 at 02:06 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  12. #12
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    @cyberfish: I usually close my firefox (well, iceweasel) when I have about sixty tabs, I think . . . .

    I have quite a bit of memory, so I don't mind when firefox takes a lot of it. What annoys me is firefox's plugins (usually flash) taking a little bit of my CPU time. You can usually SIGSTOP or SIGTERM the flash plugin without hurting firefox itself, though, fortunately.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  13. #13
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,450
    You could also create a new Firefox profile to clean up the old should you experience problems with it. It cleans up most errors, though not memory leaks from Firefox itself, of course.
    A lot plugins are known to have leaks, though.

    But I can tell you that you are not alone with Firefox eating a lot of memory and being sluggish at times.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    Well, have any come across memory leaks on IE. I seem to stangly see them on my machine. I use IE at work. It just takes a hell lot of memory which brings the whole system down.

    -ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  15. #15
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    There's a very famous leak in IE6's handling of JavaScript/DOM interaction. It's there in a less discoverable way in IE7, too.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking for memory leaks
    By Bladactania in forum C Programming
    Replies: 5
    Last Post: 02-10-2009, 11:58 AM
  2. memory leaks
    By TehOne in forum C Programming
    Replies: 4
    Last Post: 10-10-2008, 09:33 PM
  3. Tons of memory leaks
    By VirtualAce in forum C++ Programming
    Replies: 11
    Last Post: 12-05-2005, 09:19 AM
  4. COM Memory Leaks
    By subdene in forum Windows Programming
    Replies: 0
    Last Post: 06-07-2004, 11:57 AM
  5. about memory leaks with this simple program
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 04-07-2002, 07:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21