Tools to optimize the Memory Usage of Firefox and Chrome - gHacks Tech News

Tools to optimize the Memory Usage of Firefox and Chrome

Web browsers can use a lot of memory on a computer system. Once you start opening additional websites in tabs you will notice that memory usage is going up.

Firefox does a better job at that as Chrome at the time of writing but both can easily go up to 1 Gigabyte of memory usage and more.

High memory usage may not be an issue if the system you are working on has plenty of it. If it has 4, 8, 16 or even more Gigabytes of RAM, then you may never run into any memory related issues.

Sure, you may dislike how much memory a single program is using on the system but if it is not impacting performance or other operations, there is not really anything to worry about.

Internet users who run systems with less RAM, especially 1 Gigabyte and below, sit in a different boat. Their systems may not have enough RAM for all processes running on it which may reduce the overall performance of the system due to caching being used to overcome this limitation.

The following list of programs is divided into two parts: browser extensions and programs.

Memory optimization programs

firefox process

The following desktop programs attempts to free up memory using various API calls or techniques. Some may call them snakeoil because of that while others swear that they have a positive effect when they run them on their system.

Firemin

firemin

Firemin does not do anything that Windows does not do itself when the system runs out of RAM. It calls the Windows function EmptyWorkingSet over and over again in a loop to free up memory. Calling the function removes as many pages as possible from the working set of the specified process.

The effect is temporary which is why Firemin calls it in a loop. It may impact system performance as well depending on how it is set up.

The program ships with a slider that you can use to set the desired interval in which you want it to call the function.

Once it is running, you can see its effect when you open the Windows Task Manager or a third-party process manager such as Process Explorer.

RAMMap

rammap

RAMMap has been designed to provide users of the Windows operating system with detailed information about how memory is being used by it.

It displays process working sets, physical pages and ranges, file summaries and use counts among other things.

The program ships with an Empty menu at the top which you can use to free up memory. It offers additional empty options compared to Firemin but does not run those in a loop like the former program does.

Another difference is the fact that it will empty them all and not only that of a specific process.

Wise Memory Optimizer

wise memory optimizer

You can configure Wise Memory Optimizer to run automatically when the system's memory count drops below a threshold. The program itself does not optimize individual processes but overall RAM usage instead.

The company does not reveal how it works, but it is very likely that it is using the same API calls as all the other programs that work in a similar fashion.

SpeedyFox

speedyfox

SpeedyFox optimizes Firefox, Chrome and several other programs in a different way. Instead of freeing up memory directly, it will optimize the databases used by these programs instead.

This may reduce the size of the database used which in turn may speed up the loading time of it when it is needed and may also reduce the overall memory usage of the program it is used by.

Quick list of alternatives

These programs work in a similar fashion to the ones listed above.

  1. All Browsers Memory Zip supports more than two dozen browser processes. It can free up ram for any of them by setting a desired amount of RAM in the interface.
  2. CleanMem runs every 15 minutes to free up system memory. A Pro version is available that offers advanced features, the free version does not offer that many.
  3. Memory Booster clears the working set of processes when run. It is created by the same developer as Firemin but works with all processes instead.
  4. Minimem displays processes sorted by memory usage in its interface. You can select one or multiple for optimization.
  5. Mz RAM Booster will free RAM when it drops below a threshold. The program ships with a selection of tweaks on top of that.
  6. RAMRush will optimize the memory when the free amount drops below the 8% mark.

Browser Extensions

Browser extensions and add-ons are installed directly in the web browser of choice. These won't free up memory directly by calling Windows functions but can do so in other ways.

FooTab (Google Chrome)

FooTab improves the start of Chrome by loading only the active tab when the browser starts while blocking the loading of all other tabs.

Blocked tabs get loaded once you select them in the browser interface. The extension is mostly useful to Chrome users who restore sessions whenever the browser starts.

Free Memory (Mozilla Firefox)

release memory firefox

This extension provides a frontend for Firefox's about:memory page. Instead of having to open it manually whenever you want to reduce memory usage you can use the menu the extension provides you with instead to do so.

Memory Restart (Mozilla Firefox)

You can set a memory threshold using the extension to have it restart Firefox automatically whenever the selected amount of RAM is reached.

OneTab (Mozilla Firefox)

The browser add-on can convert tabs into a list effectively freeing up memory in the process. It may also reduce the load of the cpu depending on whether background scripts have been running in tabs that you have moved to the list.

Tab Hibernation (Google Chrome)

The extension moves inactive tabs, those not activated for a set amount of time, to sleep so that they use less memory than before.

The Great Suspender (Google Chrome)

great-suspender

Suspend one or all tabs of a Chrome browser window. Suspending tabs unloads them in the browser without removing the tab itself.

Since tabs, or more precisely the sites loaded in them, consume memory, doing so will free up RAM on the system.

UnloadTab (Mozilla Firefox)

unloadtab

The browser add-on for the Firefox browser can unload tabs automatically or manually on user request. It is possible to unload individual tabs or all but the selected tab in Firefox.

The add-on ships with settings to control the tab loading behavior of Firefox on start and supports exclusions to block the unloading of select tabs.

  • Suspend Tab is an alternative that works in a similar fashion.

Internal options

Some web browsers offer internal options to clear memory usage or perform other optimizations.

Firefox about:memory

Load about:memory in the address bar of the Firefox browser for options to reduce the browser's memory usage. Here you can do a global garbage collection, a cycle collection or minimize memory usage.

Chrome chrome://memory-redirect/

The page lists the memory usage of Chrome and other browsers that may be running on your system. Note that while it does so, it does not offer any options to purge the memory of the browser.

Summary
Tools to optimize the Memory Usage of Firefox and Chrome
Article Name
Tools to optimize the Memory Usage of Firefox and Chrome
Description
If Firefox or Chrome are using too much memory, you may find the following list of programs and browser extensions useful to tame it.
Author




  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Paul(us) said on September 7, 2014 at 2:05 pm
      Reply

      I am quit surprised that you Martin are not mention the program, from your December 12, 2009 article, that I am still using, memory- fox a really great (for me the best for a Mozilla Firefox browser) keeping your browser memory as low as possible:
      https://www.ghacks.net/2009/12/12/memory-fox-flushes-firefoxs-memory-constantly/

      More info about Memory fox:
      Attempting to reduce both Browser and Flash RAM Memory usage. Memory Fox will promote the increase of available RAM memories for other application processes. Hopefully, fostering any attempts of Memory Recovery and Retention.
      https://addons.mozilla.org/en-US/firefox/addon/memory-fox/

      Any reason why your not mention this great program Martin?

      1. visitor said on September 7, 2014 at 5:55 pm
        Reply

        Maybe because it is outdated, and the internals of Firefox have possibly changed too much since 2011.04.18?

    2. clas said on September 7, 2014 at 2:18 pm
      Reply

      another good article, martin…thanks. i have been using firemin for some time and it works without me even knowing, which is the way i want most programs to work. never a problem or glitch or any hassle with firefox.

    3. Ficho said on September 7, 2014 at 2:20 pm
      Reply

      Martin,maybe you could add [eMo]Web Browser Optimizer :

      http://sourceforge.net/projects/browseoptimizer/

      Once I’ve tried older version and it worked fine.

    4. Craig said on September 7, 2014 at 2:29 pm
      Reply

      CleanMem.

      1. hangdawg said on September 7, 2014 at 11:16 pm
        Reply

        i use cleanmem also even with 16 gb of memory

    5. CHEF-KOCH said on September 7, 2014 at 3:21 pm
      Reply

      Good list of tools, personally I not use such tools and I would like to know if someone can make a list what they tools apply in the about:config. (I guess that’s the only thing that all of these tools does).
      Maybe a motivation for you to write an article about it…. ;)

    6. Claude LaFrenière said on September 7, 2014 at 3:46 pm
      Reply

      May be but I’m not convinced that any of these “memory optimizers” will increased browser performances… : -/

      The unused memory is a lost memory and the real bottleneck for browser performances isn’t their CPU usage (especially Firefox)? Some hints about memory optimizer from Mark Russinovich:

      The Memory-Optimization Hoax – RAM optimizers make false promises
      http://windowsitpro.com/systems-management/memory-optimization-hoax

      Have a nice day. :-)

      1. Gonzo said on September 8, 2014 at 3:27 am
        Reply

        Agreed. Let Windows do it’s job. If you’re out of memory consider a different OS.

      2. zentaurus21 said on September 8, 2014 at 7:06 am
        Reply

        nice, thanks claude! warning to others: do not read the comments section of that article!!! ^_~

        cheers!

    7. Miki said on September 7, 2014 at 4:47 pm
      Reply

      I am surprised that Martin still believe this old crappy ‘RAM optimizers’ method …

    8. Marco said on September 7, 2014 at 6:19 pm
      Reply

      I used to like a lot Load Tabs Progressively for Firefox (https://addons.mozilla.org/it/firefox/addon/load-tabs-progressively/) but it doesn’ work any more, I think the developer stopped working on this addons years ago.

      Does anybody know of a similar addon for FF and/or for Chrome? A tab which allows to load tabs one by one or in sets of 3-4 tabs at a time?

    9. Blue said on September 7, 2014 at 9:17 pm
      Reply

      “Speedyfox”, is not so much a memory optimizer as it is a database compressor, which will make Firefox, Chrome, Thunderbird, and Skype run a bit faster and it is a standalone program which does not need to reside in memory. Though it claims it has optimized my programs, computers with more than two cores and 4G of RAM won’t notice any noticeable speed change. Especially users with AMD processors as AMD does a better job at processing multi-tasking, than Intel do who excel at doing single tasks.

      *Head to head Intel will trump AMD for single task jobs which is why so many ignorant people think Intel is the top, but AMD excels at multi-tasking much better than Intel can muster – as long as I have enough RAM to handle all the tasks at hand there is no speed change – In Intel it can still do multi-tasks, but once in a while one of the background tasks will pause, slow down or crash*

    10. Ray said on September 7, 2014 at 11:51 pm
      Reply

      For Firefox, I use BarTab Heavy instead of UnloadTab and all other similar addons.

    11. Robert said on September 8, 2014 at 12:09 am
      Reply

      Sunday, September 7, 2014, 9:17 PM, Ray wrote:

      “For Firefox, I use BarTab Heavy instead of UnloadTab and all other similar addons”

      Same thing for me with Firefox et Pale Moon.

      To defrag RAM, I use MemInfo 3.33 (freeware).

    12. George Melendez said on September 8, 2014 at 3:33 am
      Reply

      Hi Martin…..

      I’m a little confused here. What would be your choice of these apps and why???

      1. Martin Brinkmann said on September 8, 2014 at 7:48 am
        Reply

        George, I have enough RAM and don’t use these apps. If you run into limits regularly in regards to ram, it may be worth trying them out to see if they make a difference.

        1. Croatoan said on September 8, 2014 at 8:53 pm
          Reply

          What about CPU usage? Is there a program that minimizes CPU usage for Firefox or Chrome?

    13. jNizM said on September 8, 2014 at 7:25 am
      Reply
    14. GJJJ said on September 8, 2014 at 1:12 pm
      Reply

      @Claude LaFrenière The article you posted is more than a decade ago.

      Process Lasso has some RAM management features including trimming the working set of one or more processes and scheduled RAM trimming.

    Leave a Reply