Comparing Memory Usage of Firefox 2 vs 3
DaMan writes "ZDNet picks up on yesterday's Firefox 3 beta 1 review by comparing the memory usage of Firefox 2 against the latest beta. The results from one of the tests is quite interesting, after loading 12 pages and waiting 5 minutes, 2 used 103,180KB and 3 used 62,312KB. IE used 89,756KB.""
How much does it use on Linux... err... does it run... damn!
Sorry, I'm new at this....
Is it just me or does it seem like 60MB or even 34MB is a LOT of memory for something that browses Web pages?
I mean, people used to make fun of GNU Emacs, saying things like it stands for eight megabytes and constantly swapping or eventually malloc()'s all computer storage. Emacs takes somewhere around 10MB or so on a RHEL4 box, and that thing is practically an operating system. It reads mail! Firefox doesn't even read mail, and it takes 60MB. Opera reads mail, but still 34MB seems just too big, too.
Maybe I'm just getting to be a cranky old man. Now you kids get offa my lawn!
My blog
The Working Set (physical memory) size will drop, but the memory consumption (Private Bytes, Virtual Memory) will be the same. When a window is minimized, Windows mark the memory pages as candidates to be relocated in case of memory shortage. When you restore IE focus the Working Set size will return to the previous size.
Task Manager sucks, use Sysinternals' Process Explorer.
FC 6 .. kernel 2.6.22.. Firefox 1.5.0.12 vs 3.0b1
./.mozilla then logged back in and fired up FF 3.0b1.. same procedure, same 12 websites and 12 minutes of idling on them
I created a new user, logged in and loaded up FF 1.5.. opened up 12 tabs and logged into these sites
www.bbc.co.uk
www.slashdot.org
www.dailykos.com
www.news.com
www.abc.com
www.foxnews.com
www.freep.com
www.youtube.com
www.youporn.com
www.liveleak.com
www.rawstory.com
www.drudge.com
Here are the numbers for ff 1.5. The first line is when it loaded up with 12 empty tabs. The second line is the 12 websites loaded initially.. and the third line is 12 minutes afterwards
3876 perfume 20 0 175m 54m 38m S 0.0 14.5 0:18.19 firefox-bin
3876 perfume 20 0 348m 124m 49m R 72.0 33.2 1:47.83 firefox-bin
3876 perfume 20 0 338m 135m 49m R 46.8 36.0 7:30.93 firefox-bin
I logged out, rm -rf
4231 perfume 20 0 202m 58m 38m S 3.6 15.6 0:11.79 firefox-bin
4231 perfume 20 0 273m 106m 40m S 59.7 28.4 1:31.37 firefox-bin
4231 perfume 20 0 254m 107m 40m S 1.3 28.5 2:27.26 firefox-bin
CPU usage seemed to be much better with FF 3B1 as well.. not sure why the difference but everything was clean...
I used to browse the web on a machine with 8 MB of RAM. Total, including the OS. At the time, real time decoding of a JPEG was extremely difficult, but my current CPU has 100 times the clock speed and is 64 bit and has vector processing features. Yet, browsers still seem to make the same class of CPU-memory tradeoffs that made sense on a 68030. For example, I may have ten tabs open in a window. I can only see one of them at any given moment, but the fully decoded images are all sitting in memory for all ten web pages, despite the fact that the page could be re-rendered almost instantly on a modern system.
Since browsing a few web pages is seldom the only thing I do with my computer, I go and do other stuff in Lightwave, Blender, Photoshop, whatever, then I come back to my web browser, and I wait while the whole working set gets swapped back in. Then, I click on the tab I want, and I wait while the working set for that tab gets swapped back in. If it just rerendered the page from the original bits, rather than using cached decoded images sucking up RAM and whatnot, it'd have almost nothing to reload and worst case performance would be orders of magnitude better. Hooray for "optimisation!"
Oh, and can we get some ninjas to fucking kill Flash. Seriously, I shouldn't need a bunch of script blocking and flash blocking extensions just to be able to browse the fucking intarwebs without having a seizure.