Hi guys
I've decided to write that post because user was criticized about the lack of RAM, etc.
I have a laptop & desktop. Those are:
1) Lenovo T430, Core i5 3320M, 8GB RAM
2) C2D E8400@4GHz, 8GB RAM
Both have Win7U SP1 x64 EN running on 840 EVO (500 and 250GB respectively).
Firefox will not eat. It will gobble RAM until it reaches >3,5GB of Working Set and die in a blink of an eye. Flash version doesn't seem to be a variable here - I've tested various FP's - from 11.2 to 16 - the reaction doesn't differ a bit.
It happens on various sites that contain/use flash content. Let's say we have a site with a video on it. Flash content waits for a mouse click, after that is starts to buffer the video. Okay. Nothing bad happens.
I've tested the browser and used a video that weighs approx. 50MB (mp4 format). And after you click it again (to make it play) the *magic* happens.
The memory usage is skyrocketing (from few to dozens of MB per every second when you PLAY the video) until you pause the video or Firefox graciously crashes because it runs out of 32bit app address space.
You can rewind and play first 5 seconds of video. Then pause, rewind and play it again. To be honest it doesn't matter what you do, every time the flash content is being played, your amount of free RAM will fall down like a suicide jumping from a skyscraper to meet the unavoidable death.
You can try to avoid that, monitoring the Process Explorer and closing the tab when memory usage becomes quite high (how user-friendly!), but once FF allocates about 3GB of memory, using it becomes quite risky. It's better to restart the browser than sit on a ticking bomb waiting for it to blow any minute.
Also Firefox won't release that allocated memory. EVER. Tapping "minimize memory usage" does literally nothing. I don't count few MB (imho a fluctuation) freed up as a success when browser has 1 tab open (about:home) and uses over 3GB of memory.
Plugin container (in newer flash versions) behaves normally - it uses some resources (reasonable amount - for that 50MB video it was 70-some MB). It was Firefox that "grew up" like a kid fed with Big Macs 24/7.
It IS Firefox bug. It's memory leak. Or whatever. I shouldn't even care. If it's something that developers know about for years then it's utterly shameful that they can't (or worse - aren't willing to) fix it, because it happens
all the time. Babbling about "but youtube works" or "that site is coded like sh*t" is like a kid yelling "who would've thought that someone will try to divide by zero" trying to defend lack of catch of an exception for that in the code.
Am I mad? Yes I am. Moreover - you guys are arguing about some meaningless things. That poor guy with 2GB of RAM can have 40GB of swap file. What's the basic difference between that and having an a**load of RAM? None! Browser
will use all available memory and
will crash. You can have 128MB on XP with 10GB of swap and same thing
will happen. And please let's not discuss matters like "it's stupid to use less than X RAM on Y". This is not the point here.