Firefox uses too much memory (RAM) - How to fix
- Revision id: 17119
- Creator: John99
- Comment: added a paragraph regarding about:memory
- Reviewed: No
- Ready for localization: No
Firefox sometimes uses more memory (RAM) than it should. This can make Firefox slower, and in extreme cases, it can even make Firefox crash. This article describes how to make Firefox use less memory.
- Depending on your operating system, you can review and monitor memory usage through specific tools. On Windows, the Performance tab of the Windows Task Manager displays memory usage.
Table of Contents
- 1 Updating to the latest version
- 2 Use Firefox's own about:memory
- 3 Extensions and themes
- 4 Plugins
- 5 Checking Firefox hardware acceleration
- 6 Restarting Firefox
- 7 Using fewer tabs
- 8 Submitting performance data to Mozilla
- 9 Memory troubleshooting tools
Updating to the latest version
The latest Firefox version includes improvements about memory usage. Update to the latest version.
Use Firefox's own about:memory
Although this is work still in progress, (you may find aurora or beta channels are providing improved features), and is intended for advanced users, or those seeking guidance on memory problems, it is designed to supplant some of the OS tools.
To use about:memory you just need to
- type about:memory into the location bar,
- and click on the green arrow at the end of the bar.
About memory provides:
- a report of memory usage
- It is designed so that it may conveniently copy and paste into reports
- items display tooltips on mousover that explain what they are
- useful buttons expanding its features, these may produce more detailed reports, or reduce memory usage.
Extensions and themes
Disabling memory consuming extensions and themes
Extensions and themes can cause Firefox to use more memory than it normally would.
To determine if an extension or theme is causing Firefox to use too much memory, start Firefox in its Troubleshoot Firefox issues using Safe Mode and observing its memory usage. In Safe Mode, extensions and themes are disabled, so if you notice a significant improvement, you can try disabling or uninstalling extensions.
- For more information on starting Firefox in Safe Mode and on how to find which extension or theme is causing your problem, see Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.
Hiding bothering content
Many web pages have content you don't need such as ads and that uses memory to display (see the plugin section below). Some extensions allow you to hide bothering content:
- Adblock Plus allows you to hide ads on websites.
- Flashblock allows you to selectively enable and disable Flash content on websites.
Plugins to display special types of content can consume large amounts of memory, especially older versions.
Updating your plugins
To check to see if you have the latest versions of all your plugins, go to our Plugin Check page.
Disabling memory consuming plugins
You can test to see whether one of your plugins is causing Firefox to use too much memory by selectively disabling some of them:
Click the menu button and choose. The Add-ons Manager tab will open.
- In the Add-ons Manager tab, select the panel.
- Click on a plugin in the list to select it, then press to disable it.
- Repeat for some of the plugins in your list.
After disabling some of your plugins, close and restart Firefox, and observe its memory usage. If you don't see an improvement, you can enable those plugins again and try with a different set.
If you do see an improvement in Firefox's memory usage after disabling a certain plugin, you may leave it disabled. If its use is widespread on Internet, try to find an alternative lighter plugin:
Checking Flash hardware acceleration
For certain plugins that play videos such as Flash, the content rendering in full screen can be accelerated by hardware. It eases memory usage in case of a dedicated graphic card memory.
- Navigate to a page that shows a Flash video.
- Right-clickHold down the Ctrl key while you click on the video player and click in the context menu. The Adobe Flash Player Settings screen will open.
- Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel.
- Check Enable hardware acceleration is selected.
- Click to close the Adobe Flash Player Settings Window.
Checking Firefox hardware acceleration
Firefox hardware acceleration eases memory usage in case of a dedicated graphic card memory.
Firefox's memory usage may increase if it's left open for long periods of time. A workaround for this is to periodically restart Firefox. You can configure Firefox to save your tabs and windows so that when you start it again, you can start where you left off. See Restore previous session - Configure when Firefox shows your most recent tabs and windows for details.
Using fewer tabs
Each tab requires Firefox to store a web page in memory. If you frequently have more than 100 tabs open, consider using a more lightweight mechanism to keep track of pages to read and things to do, such as:
Submitting performance data to Mozilla
If you check Submit performance data, Mozilla will gather data including memory usage for your Firefox, which will help making Firefox better for future versions.
Memory troubleshooting tools
RAMBack lets you flush many of Firefox's caches, allowing you to distinguish caching from leaking.
If you're a C++ programmer, you can even try your hand at some of the tools Firefox developers use to debug leaks.
Based on information from Reducing memory usage - Firefox (mozillaZine KB)