Skip to main content

Automatically Restart Firefox When Memory Usage Become Too High

Firefox has a known history of being a memory hog – leave it open for long enough with multiple tabs open, and it will slowly drain away your computer’s memory. The so called ‘memory leak’ has always been a problem with Firefox as long as I can remember. Even Mozilla acknowledges the existence of the memory issue and as a workaround it recommends periodic restart of Firefox to bring the browser’s memory usage down to reasonable levels.

But who runs Firefox with one eye on the task manager? Thankfully, an add-on called Memory Restart solves half the problem.

memory-restart2

Memory Restart displays Firefox memory usage in the toolbar, and once it gets past an insane level, the button turns red to warn you that Firefox is about to go berserk. You can then save your tabs and restart Firefox to regain all the memory Firefox gobbled.

Alternatively, you can configure Memory Restart to automatically restart Firefox once it exceeds the memory limit. The add-on will automatically save your browsing session and then restore it upon restart. The memory threshold is configurable too.

memory-restart

There is still one issue – compare the reported memory usage of Firefox by the add-on with that by Windows task manager and you will notice that Memory Restart always reports less memory being consumption than the actual figure. I’ve learnt that Memory Restart uses Firefox's about:memory to determine how much memory it’s using, but why the figures doesn’t match, I have no idea.

You just have to allow some margin for this anomaly when you set the threshold, or mentally add 50 MB to 100 MB to the value given by Memory Restart’s icon in the toolbar when you decide whether or not to restart Firefox.

Comments

  1. They seem to be working on it.
    h**p://www.extremetech.com/internet/88998-fixes-to-memory-footprint-land-in-firefox-7

    Rimed

    ReplyDelete
  2. Yeah, read about it. Will have to see when FF7 finally lands. I'm sure people will be testing this particular improvement by comparing memory usage between FF7 and older versions.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

Diagram 101: Different Types of Diagrams and When To Use Them

Diagrams are a great way to visualize information and convey meaning. The problem is that there’s too many different types of diagrams, so it can be hard to know which ones you should use in any given situation. To help you out, we’ve created this diagram that lays out the 7 most common types of diagrams and when they’re best used: