Firefox 3.0 Preview
Brian Heater passed us a link to a PC World preview of the upcoming Firefox 3.0 release. In addition to the usual smoother UI, bug fixes, and feature updates, Firefox 3.0 will introduce several new components that should expand offline Web application functionality. The inclusion of DOM Storage, an offline execution model, and synchronization should all work together to allow for wider adoption of software like Google Apps at the end-user level. "As the breadth and depth of the competing applications expand, perhaps Microsoft's 90-percent stranglehold on the preinstalled and post-PC-purchase installation suite market will loosen, if only a bit. Then, too, if Windows Vista is any indication of what lies ahead, the company's software will continue to require ever more awe-inspiring hardware--a far cry from the light and nimble Web-based applications Mozilla engineers envision." The piece covers more than just the new functionality, of course, and should be of interest to anyone looking forward to 'Gran Paradiso.'
The latest build that I got of Firefox 3 did pass ACID2. Another step forward for standards. Now if we can drag IE there.
Oh and first post.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
The biggest performance hit in Firefox seems to be to do with the fact that the UI is multithreaded (as is the JS engine). Is there any chance this is going to be addressed in Firefox 3? Using a single-threaded browser in a multicore environment is painful, especially when working with many tabs at a time.
Screenshots available here.
you mean you're looking for the web, only the web?
yes, i remember the time you're talking about, the time when i considered firefox just a Galeon clone with crapping tabbing.
1. Let me stop the damn animated gifs and flash things with the "stop" button like the old Netscape let me.
You can stop animated GIFs by pressing the Escape key. Also, if you're like me and want to stop all GIF animation entirely, hop into about:config and set "image.animation_mode" to "none".
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5373 colin 15 0 246m 71m 23m S 18.9 16.3 14:08.68 firefox-bin
Seems pretty big to me. Konqueror is a fraction of that size.
Deleted
1. Why stop them when you can totally get rid of them: Adblock plus: https://addons.mozilla.org/en-US/firefox/addon/186 5_ Firefox
m ing:User_Interface
2. http://kb.mozillazine.org/Reducing_memory_usage_-
3. Goto 1
Your suggestions are how ever already listed in the wish-list. The only problem is that the list contains probably a thousand feature requests, so I'm not sure when they will be implemented.
http://wiki.mozilla.org/Firefox/Feature_Brainstor
It's PC Magazine. Fact checking, anyone?
Slashdot: Playing Favorites Since 1997
You can help curb it by adjusting "browser.cache.memory.capacity" in about:config. It's in KB, so a value of 30000 means 30,000KB or roughly 29MB.
View: about:cache to see your current cache/memory status (click the links for further details).
Also note that the setting doesn't entirely stop the "runaway RAM", but it can greatly curb it. If you only view a few pages a day and use your back/forward a lot, I don't recommend changing it. However, if you, for instance, do a lot of Google searches and visit hundreds of different sites a day, dropping that setting can greatly reduce your memory usage. If you are restricted to only a few sites, your RAM shouldn't go too high anyway.
Most of them aren't leaks. Although I think there have been a few leaks regarding plugins, but I'm too lazy to go look it up.
Although Firefox does have memory leaks, what you're describing is far worse than any confirmed memory leak. Perhaps what you're seeing is that memory use reported by the operating system is not going down when you close tabs, but Firefox is at least releasing and reusing memory internally. If what you describe was really what most Firefox users experienced, most users would not be able to use Firefox for more than a few hours before they would have to restart it. There's no way Firefox could get the 14% usage share it has today with such a serious memory problem.
In summary, Firefox does have some memory leaks, but it doesn't leak anywhere nearly as badly as you're describing for the vast majority of users. For most users, it takes many days of use before memory leaks become readily apparent by looking at memory usage numbers alone. The real memory leaks are far more subtle than what you describe, and usually require some sort of memory leak detection tool to track down.
What a fool believes, he sees, no wise man has the power to reason away.
Yes, you're not alone....
I use Firefox 2.0.x at work, because it was what came out when I started working there. At home, I am faithful to the 1.5.x range. Why? Because Firfox 2.0.x is noticable slower, the interface is... let's say, not as good as the FF 1.5.x interface. Even now, when I install Firefox for someone, I'l more likely to take the 1.5.x branch than anything else.
I hope that Firefox 3 goes back to the roots...
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
What a fool believes, he sees, no wise man has the power to reason away.
The only way you can get Seamonkey saved is by using it. Adding it to this list won't help.
If you don't fail at least 90 percent of the time, you're not aiming high enough. (Alan Kay)
Is there anyone other than me who wants my browser to just be a browser?
Why do I have to browse the web on something that wants to be an applications platform, an office suite, a local filesystem browser, and a dessert topping?
Agreed, but the problem dates back to the c.1995 (I think) when the HTML form-element was tacked on to the (arguably) already mature notion of a hypertext document layout rendering engine. From that moment on, the notion of what a web browser is (and what it ought to be) has become increasingly jaded. What web applications need is their own protocol, and their own scripting / markup language. But in lieu of that they continue to make their awkward home in the ill-fitting web browser -- because there's no other option. As long as web browser developers continue along this path, it not only means a bloated interface for viewing hypertext documents, but it means a grossly suboptimal environment for application development. And by all accounts there's no turning back; it's couched as innovation. Hell, you can't even stay logged into Slashdot through Lynx anymore because it relies on Javascript for some reason.
From TFA: "Our ultimate goal is to make it so that Web applications are not discernable from any other applications running on your desktop," Mike Schroepfer, vice president of engineering for Mozilla, explained to me during a recent interview.So by this I gather I should someday be able to run, say, Google Maps with the same speed and efficiency as, say, sed -- on my 486. Now that's ambitious.
Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
http://scobleizer.com/2006/10/21/the-great-firefo
http://www.pcworld.com/article/id,127309-page,6-c
http://oomny.com/2006/03/24/internet-explorer-7-b
http://www.zimbra.com/blog/archives/2006/10/ie_7_
http://forums.mozillazine.org/viewtopic.php?t=468
What a fool believes, he sees, no wise man has the power to reason away.
Oh, I dunno...how about this for evidence:
http://www.google.com/search?q=firefox+memory
I clicked thru the first 10 pages or so before I got bored. That's an awful lot of hits with titles like "How to Reduce Firefox Memory Usage", and "Fixing Firefox's Memory Leak". I've tried all the about:config tweaks to try and reduce the footprint. I've spent hours digging into this crap. Firefox 2 is simply _not_ good enough in the memory arena.
Except 100 MB isn't normal for most browsers. I've had a Konqueror session open for around 17 days now (visiting lots of web pages in that time), and lets see the memory usage... 65,120 RSS! Thats Konqueror from KDE 3.5.6 on SuSE 10.1. 2 tabs are open right this second in that instance (neither very complex sites right now since I'm reading about printing to the computer's screen by using the VGA controller).
/.'s front page and we're at 50,460, thats reasonable since /.'s page is much more complex than the opensuse gateway page. Open 4 articles and set it to show all comments (note, I'm not logged in so its not the javascripty version, just the pretty much static HTML) and we're at 62,516 RSS. Lets close all those new tabs and move the original to about:blank... Memory usage is now 61,852 RSS. It went down some, but didn't give back all the memory.
/. and pretty much repeat the same thing and see how the memory usage goes... Just the main page and we're to 71,096 RSS. Lets open those same 4 articles and set them to -1 comments and see what we end up at... RSS is now up to 71,384, not as big of a rise as the previous time, but it did still go up (looks like maybe it replaced the old pages in cache, which would be a good thing and the slight increase could be explained by new comments).
For comparison I just opened Firefox (2.0 or something, listed in about as "Gecko/20061023 SUSE/2.0-30 Firefox/2.0") and it opened to http://www.opensuse.org/ (default home page, I haven't customized or tweaked FF at all). The memory usage after letting it settle? RSS is 47,420! Lets just hope it doesn't rise too much (for comparison a newly started instance of Konqueror uses 28,888 RSS).
Now lets visit a few sites: Just
Now lets try the same thing with digg (without restarting Firefox): Just the main page on digg and we're to 62,296 RSS. Lets open the current top 4 articles in new tabs and see what we go to... and now we're to 69,452 RSS, lets close those tabs and move the original to about:blank again... 69,412 RSS.
Lets go back to
Now lets go to about:blank then try something a bit different... RSS dropped down to 71,004 which is good. Now the different part, lets load lwn.net in the first tab, and in new tabs linux.com, sourceforge.net, planetkde.org, planet.gnome.org, and planet.mozilla.org. RSS is now to 79,432. Lets close all but the original tab and send that to about:blank. RSS is now to 77,088, it went down again which is good.
Lets try the same thing but another set of sites: original tab is amazon.com, new ones are ebay.com, bbc's site, cnn.com, google news, weather.com and wired news. The results of this one is a bit different than previous times, RSS has risen back to 77,148. Maybe we've hit a limit of how much Firefox is using? Lets close all but the original and go to about:blank again... RSS is now 75,692, dropped even more this time.
Lets go back to digg.com and see what it does... RSS is 75,962, exactly the same. Looks like its recycling some of its own memory (or loading the page entirely from cache). Now to open 4 articles. RSS has risen to 80,540. Lets close those and go to about:blank yet again. RSS is 80,308. Dropped some, but only a tiny amount. Lets go back to Amazon.com and search for 'operating systems design and implementation'. RSS is now 80,480, a slight rise. Now lets open Mr. Tanenbaum's books in a new tab (the 3 top results). RSS is now 80,552. Another tiny rise. Close those tabs and go to about:blank. RSS is now 80,488, a slight drop.
Its nice to see that in my little test the RSS didn't just skyrocket, but Firefox is still using more memory than the instance of Konqueror that has been open for 17 days (and has opened many more websites including lots of slashdot articles using the ajaxy version of the site). In case anyone is wondering: my machine has 1.25 GB of ram, and the total memory usage never passed 50% on my sy
I've never been happy with Firefox's memory footprint either.
/Applications/Firefox.app
/Applications/Safari.app/
/Applications/Opera.app
...
/Applications/Firefox.app
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070309
Firefox/2.0.0.3
%CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
72.5 14.6 254748 114524 ?? R 1:34PM 53:30.45
1 Window, 4 tabs open:
http://maps.google.ca/
http://www.google.com/reader/view/
http://slashdot.org/
http://www.pcmag.com/
Web Developer Extension
Javascript Debugger (not open)
Netcraft Toolbar
GrApple Theme
By way of comparison, here are the same numbers for Safari (1.3.2 (v312.6)) with the same 4 tabs opened:
%CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
9.0 8.5 209612 66564 ?? S 6:43PM 0:58.24
And for Opera:
Version 9.10
Build 3588
Platform MacOS X
System 10.3.9
Same 4 tabs opened.
%CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
3.5 11.9 258548 93216 ?? S 7:02PM 0:47.31
Is that enough for you AC? Yeah, I thought so
(
By the time I finished testing the other browsers, ps -auxm was reporting - FF keeps my laptop toasty, burning the CPU cycles -- it's the google.
70.8 14.4 256140 113096 ?? R 1:34PM 70:11.16
)
In Vista, you can control volume separately for each application :) Not exactly what you want, but useful until the firefox dev team gets around to it. Posting anon because pointing out a benefit of Vista would get me shot.
Eclipse won. ATF
What a fool believes, he sees, no wise man has the power to reason away.