How To Keep Firefox From Getting Unbearably Slow

Ads by Google

firefox getting slower

I don’t like Firefox. I think it is a monolithic, huge, heavy browser, and its XPI-based architecture feels slow and dated. That said, it is much more open and customizable than Google Chrome, and I do feel that using an “independent” browser is good for the Web. I say “independent” because Google are giving Mozilla buckets of cash for being the default search engine, but still, that’s relative independence.

Also, at the end of the day, what matters most for me is performance. And while Chrome has a fast JavaScript engine and renders pages well, it would just freeze up on my system – becomes totally unresponsive and take almost a minute to “wake up”. Firefox, on the other hand, would gradually become slower and slower until it, too, would freeze up and choke. But since Firefox is more flexible, let me show you some quick techniques I’ve used to get around this and use Firefox in relative comfort (and responsiveness).

Memory Restart

firefox getting slower

Above you can see that Firefox is taking up 977MB of RAM on my system right now. You can see that number thanks to a very handy add-on called Memory Restart. It shows you how much RAM Firefox is taking (and given Firefox’s leaky nature, I think this should be a native feature really). Once the number exceeds a threshold you defined, it becomes red (as you see above). Single-clicking the number restarts the browser and reloads all tabs. See what happens within seconds of clicking the button on my system:

firefox getting sluggish

Yes – you’re reading that right. 977MB turned into 327MB, and that’s with the same exact set of eleven tabs open, and after I waited for all tabs to reload. So we’re talking about a reduction of 650MB of RAM, just by clicking one button and waiting about 15 seconds. That’s 5 seconds before I can continue working, and 15 seconds before all tabs load. Why does that even happen – I have no idea, and I blame Firefox’s awful architecture and general portliness. But Memory Restart makes this problem much more manageable.

Ads by Google

You will have to find your own threshold by trial and error, but even if you have 16GB of RAM that doesn’t mean Firefox won’t become slow once it consumes more than a couple of gigs. If you’ve ever been frustrated by Firefox’s slowness, this is the #1 add-on for you to try.

Flashblock

firefox getting sluggish

Above is a screenshot I just took of CNN.com. Notice the “F” orb under the CNN logo? That’s Flashblock at work. Websites often use Flash excessively, and Flash takes up plenty of memory. Flashblock lets you reclaim your computer and decide for yourself which Flash you want to run. But you don’t have to click the Flash orb every time you want to run an animation (that can be a nightmare on a site like YouTube). You can just do this:

firefox getting sluggish

Just click that once, and you’re done. Flashblock is smart enough to take embedded content into account: If you allow all Flash from YouTube, embedded YouTube video across the Web will start working. Indispensable, really.

AutoClose Tabs

firefox getting slower

This last one is not a must-have, but it’s nice: AutoClose Tabs makes tabs grow “old” and then closes them after a while. Once a tab becomes old, its text color changes, so you can see it is up for closing. As you can see above, you get to configure the intervals. I experimented with 3 minutes and 7, but realized it’s too fast for me. 7 and 13 seems to be working well for my browsing habits. The add-on is smart enough to only count time while the browser is active, so if you have the browser showing a page off to one side, and you’re (say) writing a blog post in another window, the tab showing the page will not close (and nor will any other tabs on that window).

The reason I say it’s not a must-have is that I did not notice massive memory savings due to closing tabs. If I close a whole bunch of tabs after Firefox reached 900MB of RAM, the RAM count doesn’t really go down. So you can think of it mostly as a way to unclutter your tab bar, and maybe it has a slight impact on speed as well.

Final Thoughts

Firefox memory management is fundamentally broken, and I don’t know if it will ever be fixed (here’s hoping, anyway). Until then, these add-ons are good enough for me. Do you suffer similar problems? If so, what solutions did you find?

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Mozilla Firefox Fans
Mozilla Firefox Fans
23 Members
Safari Browser Tips
Safari Browser Tips
12 Members
Internet Explorer (IE) Tips
Internet Explorer (IE) Tips
2 Members
Best Mobile Browsers
Best Mobile Browsers
13 Members
Google Chrome Mastery
Google Chrome Mastery
19 Members
Ads by Google
Comments (74)
  • foxyfox

    Firefox is sluggish. It runs heavier than many software with high specs. The solution I found is to close down Firefox, then it won’t be sluggish since it would have to be running to be sluggish.

  • Kshitij Chawla

    Firefox is making very powerful inroads into performance and memory management. I use Aurora(15) and it rarely slows down on me nowadays, apart from the periodic chrome hangs which afflict this alpha channel. Most of my problems were due to too many addons. I disabled a bunch of them and its pretty responsive now and doesn’t go into gradual decline.
    Apart from that, there’s also an about:memory page built into firefox which allows you to manually reclaim memory. Why don’t you try that out, see how well it works for you?

    Another addon- suspend background tabs, also helps a lot. Additionally, firefox is implementing click to play features. Once they are fully baked out, that should help too.

    Let me know of your experience with these suggestions.

    • Erez Zukerman

      Thanks for these excellent recommendations! Th next time I find myself using Firefox and feeling a slowdown, I will try these out.

  • Craig Walsh

    Ive been using IE9 and it is WAY faster than Firefox.
    I never liked IE but it blows Firefox and Chrome out of the water.
    I dont know why! But it works.

    • Erez Zukerman

      I’m glad it’s working for you! That’s excellent :)

  • lalich

    I’ve solved the problem of excessive comsumption memory thanks to the Fox Memory addon. Now my Firefox v.11.0 takes only 30 to 160 MB

  • Phillip

    Firefox has helped convince me that there is a huge disconnect between programmers and users. It’s as though the two have entirely different goals. The users want something that works, while the programmers want to experiment. But surely they can keep their experiments on their own machine until they actually work, (I know. “Don’t call me Shirley.”)

    I started using Firefox six years ago. I had over 30 extensions. It was fast.

    Today I have nine extensions. Firefox has doubled in size and has become a memory nightmare.

    Solution: I switched to Opera this week. All they need to do now is come out with “Opera Slim” for folks who don’t need a “Suite”. Nah, everybody needs a “suite”, right? RIGHT!?!?

    • Erez Zukerman

      Actually, RIGHT!!! :)

      I fully agree with your Opera Slim idea. I don’t know how practical it would be for them to implement it, but personally, I’m dying for something like that. A browser with a modern, fast, JS and tab engine, that just -works-.

      That would be revolutionary.

      (Actually, some would say IE9 comes close… but let’s not go there)

Load 10 more
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.