This article explains how to prevent the Mozilla Firefox browser from using too much memory and hindering browser and system performance. Information covers the Mozilla Firefox web browser on Windows, macOS, and Linux computers.

What to Know

  • Close tabs, update Firefox, close other programs. Enter about:support and select Troubleshoot Mode to restart Firefox without add-ons.
  • Disable extensions: Menu > Add-ons > Extensions > More > Disable. Use default theme: Add-ons > Themes > More > Default > Enable.
  • In Firefox Preferences, uncheck Use hardware acceleration when available. Go to about:memory and select Minimize memory usage.

Firefox Usage Best Practices

First, take simple, common-sense steps to be mindful of Firefox’s resources. For example, close tabs you don’t need open, and if you’re using Firefox on a Windows PC, update your graphics drivers.

Firefox’s built-in Task Manager lets you see which tabs or extensions are using a lot of memory or energy, so it’s a great way to monitor how much memory the browser is using.

Make sure you’re running the latest version of Firefox, and close other resource-intensive applications when you’re using the browser.

How to Update Firefox

Updating Firefox is always a good idea. You’ll install new security patches and take advantage of any performance enhancements. If there were a bug causing memory leaks, updating Firefox could eliminate the issue.

Firefox’s about:memory page lets you troubleshoot memory issues. Type about.memory into the Firefox search bar to generate memory reports and minimize memory usage.

  • Select the Menu icon (three horizontal lines) in the upper-right corner.
  • Select Options on the drop-down menu. (On a Mac, select Preferences.)
  • The Preferences page opens with the General category loaded by default. Scroll down to Firefox Updates.
  • Select Check for updates.
  • Here you can choose to manage update settings, such as enabling automatic updates or checking for updates and installing them manually. Firefox uses background services and updates search engines by default.
  • Restart Firefox if needed.

Check for Resource-Hogging Extensions and Themes

If you’re using any extensions or themes, see if they’re causing performance issues. This process requires loading Firefox in Safe Mode.

Select the Menu icon (three horizontal lines) in the upper-right corner.

Select Options on the drop-down menu. (On a Mac, select Preferences.)

The Preferences page opens with the General category loaded by default. Scroll down to Firefox Updates.

Select Check for updates.

Here you can choose to manage update settings, such as enabling automatic updates or checking for updates and installing them manually. Firefox uses background services and updates search engines by default.

Restart Firefox if needed.

  • Type about:support in the address bar and press Enter or Return.
  • Select Troubleshoot Mode to restart Firefox without any extensions or themes.
  • Use Firefox as usual while checking your memory and CPU percentage.
  • If memory or CPU usage is still high, then extensions and themes aren’t the problem. If the numbers remain low, disable themes and extensions.

How to Disable Firefox Extensions

Disable all extensions to see if the memory issue clears. If it does, re-enable each extension one at a time to determine the offending, memory-gulping addition.

Type about:support in the address bar and press Enter or Return.

Select Troubleshoot Mode to restart Firefox without any extensions or themes.

Use Firefox as usual while checking your memory and CPU percentage. 

If memory or CPU usage is still high, then extensions and themes aren’t the problem. If the numbers remain low, disable themes and extensions.

  • Select the Menu icon (three horizontal lines) in the upper-right corner.
  • Select Add-ons from the drop-down menu.
  • Select Extensions in the menu on the left.
  • Select the three-dot icon next to an extension.
  • Select Disable on the drop-down menu. Repeat this process for each extension.

How to Disable Firefox Themes

If an extension isn’t your memory-hogging issue, a downloaded theme could be the problem. Revert to the default theme and see if system performance improves.

Select Add-ons from the drop-down menu.

Select Extensions in the menu on the left.

Select the three-dot icon next to an extension.

Select Disable on the drop-down menu. Repeat this process for each extension.

  • Select the Menu icon (three horizontal lines) in the upper-right corner.
  • Select Add-ons from the drop-down menu.
  • Select Themes in the menu on the left.
  • Under Disabled, select the three-dot button next to Default.
  • Select Enable on the popup menu. You’ve restored the default theme.

How to Toggle off Hardware Acceleration

Hardware acceleration means Firefox dumps page rendering and other tasks onto your PC’s hardware for faster performance. But hardware acceleration may cause problems, depending on your configuration. Turn off hardware acceleration and see if this improves system performance.

Select Themes in the menu on the left.

Under Disabled, select the three-dot button next to Default.

Select Enable on the popup menu. You’ve restored the default theme.

  • Select the Menu icon (three horizontal lines) in the upper-right corner.
  • Select Options from the drop-down menu. (On a Mac, select Preferences.)
  • The Preferences page opens with the General category loaded by default. Scroll down to Performance.
  • By default, Firefox enables the Use recommended performance settings option. Click to uncheck.
  • Uncheck the Use hardware acceleration when available feature. See if your system performance improves.
  • Here you can also change the content process limit. A higher number means better performance when running multiple tabs at the cost of additional memory. Eight is the default setting, but if you’re experiencing memory issues, try lowering the process number.

Use the Built-in Memory Tool

Firefox provides a built-in tool to show memory reports and save logs. It allows you to clear memory and minimize memory usage.

Select Options from the drop-down menu. (On a Mac, select Preferences.)

The Preferences page opens with the General category loaded by default. Scroll down to Performance.

By default, Firefox enables the Use recommended performance settings option. Click to uncheck.

Uncheck the Use hardware acceleration when available feature. See if your system performance improves.

Here you can also change the content process limit. A higher number means better performance when running multiple tabs at the cost of additional memory. Eight is the default setting, but if you’re experiencing memory issues, try lowering the process number.

  • Type about:memory in the address bar and press Enter or Return.
  • Locate the Free memory panel and select Minimize memory usage.
  • Optionally, you can select the GC (garbage collection) and CC (cycle collection) buttons.

How to Install the Auto Tab Discard Firefox Extension

While too many extensions can lead to memory issues, the Auto Tab Discard extension is designed to ease memory troubles. This extension suspends inactive tabs after a specific period of time. Here’s how to install Auto Tab Discard.

Type about:memory in the address bar and press Enter or Return.

Locate the Free memory panel and select Minimize memory usage.

Optionally, you can select the GC (garbage collection) and CC (cycle collection) buttons.

  • Head to the Auto Tab Discard listing on the Mozilla Firefox Add-ons page.
  • Select Add to Firefox.
  • Select Add in the in-browser popup window that appears.
  • Click Okay, Got It to confirm the add-on management instructions. You’ll now see a power button icon located next to the Firefox menu button.
  • Select Auto Tab Discard to access quick commands to close the current tab, close other tabs in the current window, and more.
  • The Options section provides settings for discarding options, conditions, and exceptions.

Reduce Firefox Session History

One possible memory hog is your Firefox session history. Click and hold on the browser’s back and forward buttons and you’ll see a history of the sites you’ve visited. The maximum per-session history limit is 50, meaning Firefox stores 50 webpage addresses in memory. Since you’re unlikely to rewind and fast-forward through this lengthy list, decrease that number to reduce Firefox’s memory footprint.

Head to the Auto Tab Discard listing on the Mozilla Firefox Add-ons page.

Select Add to Firefox.

Select Add in the in-browser popup window that appears.

Click Okay, Got It to confirm the add-on management instructions. You’ll now see a power button icon located next to the Firefox menu button.

Select Auto Tab Discard to access quick commands to close the current tab, close other tabs in the current window, and more.

The Options section provides settings for discarding options, conditions, and exceptions.

  • Type about:config in the address bar and press Enter or Return.
  • Type browser.sessionhistory.max_entries in the search field and press Enter or Return.
  • Double-click the current value (50).
  • Enter a lower number in the popup window’s text field.
  • Select OK.

Delete the content-prefs.sqlite File

The file storing individual website data may be corrupt. Delete the content-prefs.sqlite file and Firefox will create another once it restarts. This may solve your memory issues.

Type about:config in the address bar and press Enter or Return.

Type browser.sessionhistory.max_entries in the search field and press Enter or Return.

Double-click the current value (50).

Enter a lower number in the popup window’s text field.

Select OK.

  • Type about:support in the address bar and press Enter or Return.
  • Under the Application Basics, next to Profile Folder, select Show in Finder. A window will open that contains your profile folder.
  • Quit Firefox. In your profile folder, delete the file content-prefs.sqlite. It will be recreated next time you open Firefox.

Refresh Firefox

If nothing else seems to be solving the problem of Firefox using too many memory resources, try resetting Firefox to its original settings.

Under the Application Basics, next to Profile Folder, select Show in Finder. A window will open that contains your profile folder.

Quit Firefox. In your profile folder, delete the file content-prefs.sqlite. It will be recreated next time you open Firefox.

  • Type about:support in the address bar and press Enter or Return.
  • Select Refresh Firefox.
  • Select Refresh Firefox in the confirmation popup.
  • Select Finish when Firefox restarts.

Select Refresh Firefox.

Select Refresh Firefox in the confirmation popup.

Select Finish when Firefox restarts.

Get the Latest Tech News Delivered Every Day