j peter_bruzzese
Columnist

Enough! What to do about browser piggishness

analysis
Jan 20, 20105 mins

All browsers greedily suck up processor and RAM resources, slowing and even stalling PCs

I’ve finally had it! I’ve lived with this problem for so long now that I started to believe it always existed and nothing could be done. My system, a dual-core, 4GB monster of a machine, slows down to a crawl. I bring up the Windows Task Manager only to find that my browser is at fault. I use both Firefox and Internet Explorer, and they are both offenders, though Firefox is the one that seems to hog the most: slowly grabbing processor and memory resources until my work stalls. I then must stop the process and recover the browser so that I can begin again. Sound familiar?

There are all sorts of theories on which browser is better or faster, and depending on whom you trust, you will find a different winner. I personally don’t care about the performance of each when I start the browser. After all, no matter which I choose, I end up in the same place: My browsing and computing experience slow to a crawl.

[ Read the InfoWorld Test Center’s head-on comparson: “IE8 vs. Firefox 3.5: The browser wars continue.” | See why InfoWorld’s Randall C. Kennedy says Firefox is doomed. ]

It doesn’t seem to matter which method of RAM use a browser has. IE7 and Firefox both use a single process that hosts multiple tabs (as many as you can load up before it cracks under pressure). Chrome and IE8 use multiple processes (which take up more RAM than Firefox). But Firefox eats up your RAM over time by just sitting there. You can watch it rise and rise. I decided to find the solution — and found none.

In my quest to eliminate the problem, I’ve come upon the following solutions — none of which truly satisfies me:

  • Switch to a different browser. Which one? Internet Explorer 7/8, Firefox, Safari, Chrome — they all perform poorly (although some worse than others) if the same amount of pressure is applied. After experiencing a Firefox crash, switching to Chrome or IE seems faster, but only because you had 50 tabs running in Firefox when it finally collapsed, and only a few in Chrome or IE when you switched in frustration. But if you put the same pressure on any of the browsers, you’ll find that they all disappoint to some degree on processor and memory hoggishness.
  • Remove or update your plug-ins. A memory leak within a brower is something that you can’t fix — that’s up to the browser’s developers. But the cause could be some of your plug-ins, which you can do something about. You might remove ones that users don’t require and make sure you have the latest versions of Flash and other add-ons that have become a staple in our browsing experience.
  • Close and reopen the browser. Although this is not the best solution, it is sometimes the only way to mitigate runaway browser memory hogs. Most browsers can recover your tabs if you have to close down or even kill the browser from the Task Manager. Users may think that they’ll have the same problem once they’ve reopened their tabs, but the fact is that the problem is not the number of tabs open per se, but the memory usage that increases the longer those tabs are up.

I could just as easily advise adding more RAM (a nod to NT 4.0 certification exams) or not opening so many tabs — but neither is a real solution to the underlying problem. So what can you do to blunt this hoggishness trend?

  • Chrome: If you open a Chrome browser and press Shift+Esc, you will see a task manager specifically for Chrome. You can select an offending tab (Task Manager shows you the breakdown of memory and processor use per tab) and end that specific tab. You can also click the Stats for Nerds link to see additional statistics on your browsing session.

    Note: Coming soon (it’s already in Chromium) is a Purge Memory button so that you don’t have to close the tab; instead, you can simply free up memory with a click.
  • Firefox: There are some intriguing options for adjusting Firefox, including reducing session history, reducing memory usage when minimized, establishing a fixed cache capacity or disabling cache completely, extension and theme reduction, and memory checking. Much of this is done by typing about:config in the address bar and adjusting the values. Keep in mind you should not toy around with the configuration but confirm that the changes you make actually accomplish your desired results of reducing processor and memory hogging. You might also consider some downloadable tools that promise to help, such as FireTune.
  • Internet Explorer 8: You might try running the No Add-ons mode of IE8 to see if that helps eliminate the problem of RAM-sucking that IE is famous for. It could be an add-on that is eating up the RAM and processor usage.

I’ve found plenty of other advice for increasing the performance of your browser and eliminating the bleeding of processor and RAM resources. Some read like voodoo séance instructions with very little technical validity to them. Others invite you to download and install booster software or memory-freeing software — maybe those work.

But ultimately the browser developers need to address this issue and muzzle their product from eating all the resources a modern computer has to offer, especially if you are holding on to your hardware as long as possible in this still-struggling economy but download the latest browsers for your (most likely) XP machines. The last thing you need is a multitab memory hog of a browser costing your people productivity due to browser stalls or crashes.

This article, “Enough! What to do about browser piggishness,” was originally published at InfoWorld.com. Follow the latest developments in browsers, Chrome, Firefox, and Internet Explorer at InfoWorld.com.

j peter_bruzzese

J. Peter Bruzzese is a six-time-awarded Microsoft MVP (currently for Office Servers and Services, previously for Exchange/Office 365). He is a technical speaker and author with more than a dozen books sold internationally. He's the co-founder of ClipTraining, the creator of ConversationalGeek.com, instructor on Exchange/Office 365 video content for Pluralsight, and a consultant for Mimecast and others.

More from this author