Firefox has a well-deserved reputation for flexibility, customizability and… massive, possibly even embarrassing, memory usage. While occasional sluggishness can be an inconvenience, for many, using any other browser is unthinkable. Why?
Because Firefox allows you to interface with the larger world in ways that no mere browser can match. With Firefox as the platform, you can add extensions that block ads, control animations, refine tab control, read news feeds, run arcane specialized searches, hide your identity at the click of a button, automatically reload some pages while leaving others alone and pretty much anything else you can imagine.
Firefox doesn’t simply change the way you browse. It redefines the concept. “I wish it would…” becomes “Mine does.”
At Email Battles, we beat the heck out of Firefox with hundreds of pages daily, 18 extensions, tens of open tabs, and no downtime for days at a stretch.
The doggoned thing is addictive. Once you’ve assembled the combination that fits your individual needs, vanilla browsers feel stultifying.
And amazingly, it’s all free. But while Firefox and its extensions are all free in a dollars and cents kinda way, you do pay a price. As you heap on the features, it gets slower and slower and… slower.
When that happens, you need to clear out the clutter. Start by going to [Tools][Extensions]. Uninstall every extension you don’t use. Then disable the extensions you rarely use. You can always re-enable them when you need them. And between uses, you’ll have more horsepower for your work.
While you’re at it, download our favorite memory and performance enhancers for Firefox: AniDisable, NoScript, Flashblock, PDF Download and Tabbrowser Preferences.
Although none of them are particularly flashy, together they enhance your surfing while simultaneously making it friendlier and more secure.
AniDisable keeps irritating animations in banner ads from running, or limits them to running once. By adding it to your context menu, you can toggle it on/off with a quick right-click of your mouse.
Just so you know… If you want to block all animations all the time without AniDisable, you type about:config in your address bar, find image.animation_mode, and change the value to none.
NoScript gives you granular control of javascript, Java, Flash and other plugins. As these are among Firefox’s greatest sources for memory leaks and security problems, NoScript provides a friendlier environment than simply blocking everything. You can whitelist sites on the fly. NoScript’s only problem is user frustration over too many choices. We’ve noticed that a number of users end out turning it off.
When that happens, give them Flashblock. It prevents flash content from downloading until you want it. Then simply click the Flash logo in the space where the animation will play. You can easily whitelist sites by right-clicking for your context menu. Flashblock will not work if you don’t allow javascript.
PDF Download helps you get control of those pesky, memory-hogging PDF files. Among other things, this handy tool lets you save PDF files to disk, or read them with an outside viewer, instead of forcing Firefox to read them. Once you’ve saved your PDF, read it outside Firefox with your highly optimized PDF viewer.
Tabbrowser Preferences has many wonderful convenience features. Choose the Restore the last tab session option to get a leg-up on Firefox memory problems. Then, when your computer gets a little slow, shut down Firefox, saunter over to the coffee pot, refill your mug, and restart Firefox.
The coffee run gives Firefox plenty of time to clear itself out. (Important Note: If you do not drink coffee, do not attempt this maneuver. It has not been tested in a caffiene-free environment.)
Once Firefox has finished loading your default home page, you’ll see a popup window:
Click the [Close tab] button. All your old tabs will come back, just as they were when your mug was empty.
How often should you reset Firefox? Depends on what you’re running. Once a day does it for us. Try it and let us know how it works for you.
Ben Goodger at Inside Firefox says a lot of the memory gobbling is due to automatic page caching. By default, Firefox keeps the last eight pages in memory, regardless of how many tabs you have open.
He suggests that, by changing the value of browser.sessionhistory.max_total_viewers, you can tune the cache to taste. The default setting, -1, tells Firefox to automatically optimize page caching for available memory up to a maximum of eight pages. On the other hand, you can manually enter the number of pages you want cached and Firefox will comply. (3 = 3 pages, 17 = 17 pages, etc. Get it?)
Parting tip: When you find pages with badly behaving javascript, take what you need and move on. Poorly written scripts can screw up Firefox worse than caffiene deficiency. Don’t leave them up if you can avoid it.
Email Battles Backgrounder:

17 comments
Comments feed for this article
August 25th, 2006 at 3:36 pm
Pingback from Dean’s Blog » Links for this week
February 16th, 2006 at 7:47 pm
Singer
I’ve been using Firefox for a while and didn’t even know all it could do. Thanks.
February 16th, 2006 at 7:54 pm
Zeke4927
Firefox has some nice stuff. My enthusiasm’s waned though, since all the bookmarks on my wife’s machine vanished for no apparent reason.
February 17th, 2006 at 1:48 am
Limulus
Zeke4927: there’s a good chance that you can recover her bookmarks; see http://kb.mozillazine.org/Lost_bookmarks
February 17th, 2006 at 1:57 am
Limulus
Regarding Tabbrowser Preferences, if you want to be able to restore your session, you can alternately use SessionSaver: https://addons.mozilla.org/extensions/moreinfo.php?id=436
February 17th, 2006 at 9:22 am
BJ Gillette
Over time we encountered a few inconveniences with SessionSaver, like update timeliness. When Tabbrowser Prefs added the function, it fit.
This is one of the great things about the Firefox platform. You can mix and match extensions to fit your personal quirks.
Along those lines, there’s another Tab extender that deserves a look: Tab Mix Plus. (The link is “broken” for page formatting. You’ll want to remove the spaces after the forward slashes and question mark: https:// addons.mozilla.org/ extensions/ moreinfo.php? id=1122)
February 17th, 2006 at 10:49 am
Saist
eh, I’ve been using FireFox on both Windows and Linux for some time now, and I’ve never run into this memory leak problem. But, by the same token, I don’t use any extensions either… I wonder how many people complaining about the memory leaks have bothered clearing their extension list and running without it for a while to determine if it is an application issue, or if it is an extension issue. From what I’ve seen, I think it’s just poorly written extensions for the most part.
February 17th, 2006 at 1:41 pm
zk
The main problem I’ve had with Firefox extensions is that they often lag behind the official Firefox releases. After a browser update, I’m often left with a bunch of extensions that don’t work.
February 17th, 2006 at 3:53 pm
The Symposium
There’s an extension for Firefox that backs up your bookmarks. There are many options for the extension, such as backing up to the same or a different directory as your current bookmarks, and backing up other essential Firefox files (history, passwords, cookies, etc.). You can also type in the name of other files that you wish to have backed up with this extension, and Firefox will comply.
February 17th, 2006 at 4:49 pm
BJ Gillette
@Saist. The extensions bring people to Firefox, and the extensions will keep them there.
I’d rather fight the memory headaches and keep my extensions.
February 20th, 2006 at 8:46 am
Ike Ahnoklast
The “solutions” presented here may have some value since they address the indirect side-effects of the fundamental problem, which is a basic CS101 bug involving unintended recursion that results in memory exhaustion. See https://bugzilla.mozilla.org/show_bug.cgi?id=246974
Not clear if/when this will ever be fixed.
February 20th, 2006 at 5:27 pm
Charles Jie
It’s the first time I read about firefox memory leak issue. Thanks. However, in my usage, two issues are more serious than this:
1. CPU leak - from time to time, I’ll find that firefox is comsuming 25%, 50%, and up to 99% of my cpu for a long time (hours) instead of keep idle. I would restart it then. (I use Mandriva 2006 and 9.2)
2. Cut and Paste pollution - when I paste a url into firefox’s location field, it may fill some other extra text at the same time. The strange extra text is from my previous cut-and-paste. If it happens, it keeps doing bad jobs until I restart firefox.
I don’t know it’s the application or the extensions which is responsible for the issues. Today I try to clean 2/3 (about
of my extensions and keep watching it.
February 20th, 2006 at 8:25 pm
Editor
@Charles.
You might want to try updating all your extensions.
If that doesn’t fix your browser, disable all extensions, then re-enable them one at a time till you find the extension (or combination) that screws up your system.
April 9th, 2006 at 4:03 am
Anonymous Coward
If it’s a basic CS 101 bug, why don’t you fix it? Firefox is open source, after all.
October 6th, 2006 at 10:05 pm
windozer
“since all the bookmarks on my wife’s machine vanished for no apparent reason” –> yeah, i had that too after some windowsupdates in the past =F
September 7th, 2007 at 12:54 am
Julie
I use MacBook. How to fix an unexpected error occured(error code 1712)
November 19th, 2007 at 12:52 pm
ChaosKaizer
Thank you, I like the tab browser pref settings.
Giving out some few tips here. as you all notice Firefox is resources hungry, memory cruncher, unexpected behavior, etc. . but thats depend on type of usage. Firefox is stable you can load 100 addons without conflict (there is benchmark somewhere on the net).
But loading firefox with too many addons can drastically reduce the loading time and increase the memory usage. I found that most web developer has too many “Web dev addons” and certainly its in good used but this type of addons (firebugs,yslow,noscripts,dom related) is consider high in memory usage. The best way is to setup ” firefox -profilemanager” and create different sets of profile (with related addons for each profile). As an example I have 4 sets of profiles. my setup 1. default, 2. surfing (noscripts,sage,foxmark,ai-roboform), 3. web dev (noscripts,firebug,colorzilla,pdfviewer,googletools,jsview,ieview,operator,snapshot,validator,seoadmin) 4. privacy (tor, noscripts)