WinInfo Daily News   |   Windows IT Pro
in

SuperSite Blog

Firefox 3 Memory Usage

Stuart Parmenter, a Mozilla engineer, has some interesting news about memory usage in Firefox 3 Beta 4:

We’ve made more significant changes to the platform than I can count, including many to reduce our memory footprint. The result has been dramatic, and you can see for yourself by getting a copy of the recently released Firefox 3 Beta 4.

Here’s What We’ve Done:

Reduced Memory fragmentation
Fixed cycles with the Cycle collector
Tuned our caches
Adjusted how we store image data
Hunted down leaks

Our work has paid off.

We’re significantly smaller than previous versions of Firefox and other browsers. You can keep the browser open for much longer using much less memory. Extensions are much less likely to cause leaks. We’ve got automated tools in place to detect leaks that might result from new code. We’re always monitoring and testing to make sure we’re moving in the right direction. All of this has been done while dramatically improving performance.

So this is all very interesting, and you should read the full post for the details of how they did it. But even after just a few days of use, it's clear that Firefox 3 Beta 4 is using tons less memory than FF2. I used to leave FF2 on overnight and the thing would gobble up 300+ MB of RAM easily. I check it from time to time and it's usually in the 60-70 MB RAM range, a huge improvement.

If they can really put this behind them, I'd like to see the same dedication go towards making a high quality FF user experience. The new UI in FF3 is simply horrible, especially on Windows Vista. It shouldn't be this amateurish.

Comments

 

Cfischer83 said:

I was working on my Mac Pro with 5GB of ram and even while using it I noticed my system getting sluggish... when I opened the activity monitor, firefox (2) was taking up 2GB of ram by itself!!

Of course some of that can be attributed to poor memory handling on the part of OS X, but still....

March 12, 2008 9:03 PM
 

weedmonk said:

"Of course some of that can be attributed to poor memory handling on the part of OS X, but still...."

Blasphemy!

March 12, 2008 10:32 PM
 

Lindy said:

VISTA is simply horrible looking.  Aero is a neon/cartoonish joke.  What the heck is with the super thick borders on Vista.

FF3 looks and runs great on XP and OS X.

March 12, 2008 10:44 PM
 

Cfischer83 said:

Lindy, how do you REALLY feel about Vista? ;) .... really though, you should buy it and actually try it out for yourself, I'm sure you'd love it!

@Weedmonk:

Sorry, but it's true... I can't leave my Mac on over the weekend without it locking up due to memory leaks (no matter what's open)... that doesn't happen on Windows (unless of course you have some poorly written 3rd party app).

March 13, 2008 12:03 AM
 

rseiler said:

Paul, I still don't know why you're going on and on about simple icons in a (skinnable) browser. They look fine to me, and is that new back button not similar to Vista's own prominent circular Start button?  Why yes, it is.  And the menus are native seeming to me. According to the release notes, Beta 4 has "[Vista] native user interface widgets in the browser and in web forms."

At least find something accurate to rail about.

March 13, 2008 2:27 AM
 

boolean22 said:

The FF skin is not native at all, that's BS.

The ORIGINAL leaks from the UI showed something more in the MediaPlayer 11 line, which was on par with the Photo Gallery and the Calendar in Vista. Why in heaven would they scrap something as good looking and functional? Why scrapping the chance of sticking it to MS by making their browser more akin to the Vista likes, where IE lacks a lot in the integration department (misplacing toolbars, etc.)?

I just don't know, but as in Stairway To Heaven, «it makes me wonder»: Is this a «don't wanna play by tha rulez» and trying to be edgy kind of attitude? Or is this the kind of behaviour that always plagued the OSS Community in Windows, reinventing the wheel instead of coping with the UI guidelines?

March 13, 2008 7:32 AM
 

befuson said:

I've noticed no difference in memory handling between beta 3 and 4.

And seiler, if they look "fine" to you, you need glasses.  FF, at least in its current beta form, looks terrible, even on XP.

March 13, 2008 7:33 AM
 

lilserenity said:

I am happy to agree that whilst Firefox 3 is faster and leaner than 2, and functionally it's proving to be quite nice - the interface by default is not very inspired. I much prefer Firefox 2 skinned with a 'Vista' theme, it looks lovely.

As I keep saying I use Windows, Mac OS X and Linux so I've got no allegiance one way or another. As a web developer IE 8 and Firefox 3 will be wonderful; but we'll still have the IE6 brigade...

Either way, the Windows default skins need some serious effort put into them. The back and forward button 'thing' is just hideous.

I'll continue to use Firefox, and won't switch to iE7 permanently on any of my computers or at work, but if it's released with the current Windows skins, I shall be off to find a replacement post haste!

Unfortunately for many people the decision on which web browser to use is not what technically it can do, standards etc. but what it looks like. Firefox 3 looks uninspired on Windows.

March 13, 2008 9:11 AM
 

daveinla said:

CFisher:

I don't know what kind of junk you run on your MacPro but it's the first time I hear someone complaining about the memory management on OSX. I have both a G4 macmini and a Macbook running 24/7 and rebooting maybe once a month for major updates and my macmini remains at roughly 512 MB free and 512 MB active/wired, and the macbook has always 1GB free out of my 2Gb installed with a 2nd user logged in !!!

OSX has one of the finest kernel nowadays in terms of memory/threads management and I doubt it's the cause of your memory leaks...

March 13, 2008 11:49 AM
 

DRWAM said:

I share the same stable experience as DaveinLA on a G4 from 1999 as well as a Pro Tower from 2007.XP has been stable on my home machines, but not at work at all, but it is because of the installed 3rd party software [GE Centricity]. Don't get me wrong, I love Centricity, but we reboot a few times a day on any of many Workstations [all XP]. I hope that the server or Hospital info system is more stable as it is a dominant platform in the medical world, where Macs are insignificant. The medical world is becoming all digital and all Windows. Fortunately Windows servers allows Macs to enter the 'cloud'.

March 13, 2008 2:28 PM
 

Cfischer83 said:

@daveinla and DRWAM:

I'm glad you guys have had better experiences than me... we have another unused Mac Pro (all our mac systems run the latest updates of Tiger with minimum 5GB of ram btw) that I tried doing some of the same stuff on, and it's needed to be rebooted numerous times due to memory related problems... My boss is going to get me a Macbook Pro next month though. Perhaps less memory will mean less to manage.

March 13, 2008 9:39 PM
 

DRWAM said:

I have 4GB RAM in my Pro Tower [8 x 512MB] which has RAID 0 in two 250GB drives and two more 500GB drives for backup and Vista [which runs well on it]. The old G4 has a 1.25GHz CPU upgrade from OWC and 1.75GB RAM with three internal drives. I really should get rid of all the downloaded apps and updates that I will never use again. I backup my DVD movies too [after conversion to DIVX] and use both Macs and a PC for them. Good luck with the MBP. Our head IT guy converted to it. He prefers VMware to run his Windows apps on it, but I do not know if he uses Vista or XP with it. but I suspect that is XP as one needed app is so darn old that we are lucky that XP supports it. We intend on replacing it, but it will take a long time and a lot of money as it is dictation/transcription/report archiving app, for which we want it integrated with PACS and prehaps voice recognition.

March 14, 2008 7:25 AM
 

Airline Travel » Firefox 3 Memory Usage said:

Pingback from  Airline Travel » Firefox 3 Memory Usage

March 15, 2008 3:29 PM
 

Firefox v3.0 First Impressions said:

Pingback from  Firefox v3.0 First Impressions

June 18, 2008 9:53 PM

About pthurrott

Paul Thurrott is the guy behind the SuperSite for Windows. Way behind. :)
SPONSORED LINKS FEATURED LINKS

Free Download –VS 2008 TrainingExperts Ken Getz & Robert Green plus labs, code, courseware Maximize speed, performance and reliablity of your PCs and servers—automatically!Speed Up Your PC! Try Diskeeper 2008 with InvisiTasking Free Now! Register for SolarWinds VM MonitorGet X-Ray Vision into Your ESX Servers with SolarWinds FREE VM Monitor GoGrid Offers FREE Trial for Windows Cloud ServersDeploy Windows Server 2003 and 2008 with free load balancing through GoGrid’s award winning web-based GUI – all in less than 5 minutes Order Your SQL Fundamentals CD Today! Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD. How healthy is your Exchange Server? Find out Now!Automatic Exchange Server Maintenance helps prevent disasters and improves performance. Download a FREE Exchange Server analysis tool. You've Deployed SharePoint...Now What?This one-day free online conference delivers the technical knowledge needed to kick MOSS up a notch. In one information-packed day, independent SharePoint experts will present practical, real-world information and provide take-away, ready-to-use solutions Ease Your Scripting Pains with the Flexibility of PowerShell!Paul Robichaux equips you with PowerShell basics in 3 introductory lessons, each followed by live Q&A—all on your own computer! Register today! What Would You Do If You Ran Microsoft?ITTV's 2008 inaugural video contest, "If I Ran Microsoft..." is your chance to tell it like it is. Be goofy or be serious, but don"t miss this chance to have fun, win prizes, and go viral in a major way. Maximize Your SharePoint InvestmentThis web seminar discusses how true bi-directional replication of SharePoint content from one server to another enables branch offices to maintain access to current SharePoint content. Rock Your Knowledge, and Compete with Friends and Colleagues!Are you the Web Application Performance Guru in your office? It's time to have fun! Download now to access the crossword puzzle. Challenge yourself and complete this fun activity!
Windows IT Pro |  Subscribe |  Register |  Windows FAQ |  Media Kit |  WinInfo News |  Europe Edition |  About Us |  Contact Us/Customer Service |  Affiliates/Licensing
SQL Server Magazine |  Office & SharePoint Pro |  Windows Dev Pro |  IT Library |  Technical Resources Directory |  Windows Excavator |  ITTV |  IT Job Hound

Copyright © 2008 Penton Media, Inc., All rights reserved.  Terms and Use | Privacy Statement | Reprints and Licensing