yendi: (Henry)
yendi ([personal profile] yendi) wrote2007-11-13 08:44 am

Why Firefox frustrates me



11% CPU usage is bad enough, but that at least fluctuates and can go down. 2.5GB of virtual memory? Fuck no. And nearly 400MB of real memory? Motherfucking no.

I love a lot of what Firefox offers, but it leaks memory like nobody's business.

And yes, I don't doubt that Google Reader and GMail contribute, as do any sites that run Flash (I keep Java turned off, as no site needs to even think about running Java apps without my permission, thank you very much; otherwise, I think I'd be at 4GB of vm usage). But we live in a Web 2.0 world; if the browser can't keep up, that's a problem, no matter how fast it can render a page of html.
fiddledragon: (Default)

[personal profile] fiddledragon 2007-11-13 01:51 pm (UTC)(link)
have you gone into about:config to turn down memory settings at all?

[identity profile] songwind.livejournal.com 2007-11-13 01:59 pm (UTC)(link)
Youch. I have a similar problem under windows, but my memory usage almost never goes above 250Mb or so.

How long do you let it run without restarting it?

[identity profile] songwind.livejournal.com 2007-11-13 02:17 pm (UTC)(link)
Wow. I wonder what you're using that I'm not that is making that much difference?

I did turn off in-memory caching because my workstation here hasn't really got enough memory for my IDE. Maybe that's where the big leak is.

[identity profile] cedear.livejournal.com 2007-11-15 12:43 am (UTC)(link)
Er, "Bookmark all tabs"? Do you not have Startup set to "Show my windows and tabs from last time" (http://www.firefoxtutor.com/70/session-restore-is-built-into-firefox-2/)? And that's without a session manager add-on.

I use Opera, which had tabs and session restore before anything else, and haven't lost a browsing session in years.

On the main subject, I'm surprised these (http://pavlovdotnet.wordpress.com/2007/11/10/memory-fragmentation/) haven't (http://pavlovdotnet.wordpress.com/2007/11/14/leaks-memory-we-never-forgot-about-you/) been posted yet.

[identity profile] darth-spacey.livejournal.com 2007-11-15 02:11 pm (UTC)(link)
Opera rocks the pants off of every other browser (and mail client, and news client, and RSS reader) out there, but I've found it's got a memory leak, too. I had thought it rather severe, but it seems it's slower and gentler than Firefox's one, so I'm going to stop being concerned about it.
ext_80683: (Default)

[identity profile] crwilley.livejournal.com 2007-11-13 02:04 pm (UTC)(link)
That's one of my pet peeves lately. At work (admittedly on an old version - Mozilla 1.7.2 - but the alternative is IE5, which won't even run LJ properly these days...), there's one particular message board where I can watch the memory usage climb, and climb, and climb, and climb; if I'm really actively reading, Firefox will crash after about 3 hours because it's eaten up all the virtual memory.

I'd blamed it on the site - which I'm sure contributes - but yeah, the browser needs to be able to keep up with the user's demands.
ext_80683: (Default)

[identity profile] crwilley.livejournal.com 2007-11-13 02:38 pm (UTC)(link)
I don't know if this is a "still" - this version's from 2004. My computer hasn't been updated in that long, and the IT department won't do it because I'm supposed to be getting a thin client terminal "really soon"....which translates from City of Detroit-ese as "sometime before I retire". :|

[identity profile] luis-mw.livejournal.com 2007-11-13 02:05 pm (UTC)(link)
I have noticed that the CPU usage is mostly affected by the presence of animated graphics, which is a real pain at most sites seem to be incapable of surviving without fancy moving GIFs

[identity profile] darth-spacey.livejournal.com 2007-11-15 02:13 pm (UTC)(link)
More Opera pimpage...

In Opera, you can selectively enable and disable image-loading, GIF animation, Flash, Javascript and Java on a per-site basis with a couple of mouse-clicks -- even less if you drag the relevant controls to your toolbar.

[identity profile] litch.livejournal.com 2007-11-13 03:14 pm (UTC)(link)
My firefox iterations rarely ever run up that much memory, it still uses more memory than I would like but not that high. Currently my memory usage is 170m and my vm size is 190m and that's pretty typical on most machines I use (though I have a lot fewer tabs open than I recall you tending towards (currently 10).

I regularly will leave firefox open with dozens of tabs for days at a time with out much problem.

There were some memory holes fixed in the most recent couple of builds, you are using 2.0.0.9 right?

[identity profile] moop2000.livejournal.com 2007-11-13 03:28 pm (UTC)(link)
Oh, I know what you mean. I use Safari on my macs, but at work on my Vista machine, Firefox will do the same thing! It will easily suck down a couple hundred meg of memory. Oh well.

[identity profile] texmorgan.livejournal.com 2007-11-13 04:06 pm (UTC)(link)
I'm glad you pointed this out, mine has climbed from 86MB to 100MB in just the past 10 minutes or so. I think it might be time for me to switch browsers possibly to Opera or one of the others that Linux comes with that is more efficient.

[identity profile] digriz.livejournal.com 2007-11-13 04:20 pm (UTC)(link)
Just don't try to report it to the Firefox developers. Apparently, their standard response is either "That's never happened to us; you must have something setup wrong" or "Oh, that's because *insert bogus techie-sounding answer*, and it's not really a bug, it's supposed to do that". (I don't doubt that certain extensions, or certain combinations of extensions, make the problem worse, but I've had enough issues with a plain-jane install to convince me the browser is fundamentally broken somewhere.)

Oddly enough, despite their protests that nothing is wrong, Firefox 3 is supposed to have a "built-in memory usage monitor and manager"...

[identity profile] darth-spacey.livejournal.com 2007-11-15 02:14 pm (UTC)(link)
a "built-in memory usage monitor and manager"

Known to programmers everywhere as "the built-in garbage-collection feature of most modern languages"?

[identity profile] rowancat.livejournal.com 2007-11-13 07:44 pm (UTC)(link)
How many tabs do you keep open?
Mine reads 65Meg Mem Usage.
(doesn't say real or virtual)

[identity profile] rowancat.livejournal.com 2007-11-13 08:07 pm (UTC)(link)
Oh, and i'm using Version 1.5.00.12.
I refuse to upgrade till they work the bugs out.
Memory leakage has always been a big issue with Firefox...
That said, i rarely use more than 2 or 3 tabs.

Startups-it seems like every piece of software now wants
*instant* access on bootup to te net to look for updates.

Occasionally causes a reboot when the system gets confused and overloaded.
(using one size fits all verizon dsl usb drivers that suppress the normal
windows plug and play for usb doesn't really help- all of those reboots
are stop errors caused by device driver, about one per week.
Used to be 1-2/day till i did some tweaking and downloading updates.
Still looking for updated ethernet drivers... mumble.
lovingboth: (Default)

[personal profile] lovingboth 2007-11-14 11:16 pm (UTC)(link)
OK, it's a Windows version 2.0.0.9, but I have about 500 tabs open (yeah, yeah) and it's only using 1.1G of virtual memory. No Flash, but GMail. AdBlock plus is getting rid of animated (and other) ads.