Internet, Networking, & Security Browsers How to Prevent Firefox From Using Too Much Memory Stop your browser from consuming too many system resources by Kevin Parrish Writer Kevin began writing about games and hardware in the 1990s. His previous work appeared on Tom's Hardware, Maximum PC, Digital Trends, and Android Authority. our editorial process Twitter LinkedIn Kevin Parrish Updated on July 07, 2020 Browsers Firefox Chrome Safari Microsoft Tweet Share Email Mozilla's Firefox browser does an excellent job providing stable, fast performance with a minimal memory footprint. But there may be times when Firefox uses too much memory and requires user intervention to increase both browser and system-based performance. Here's how to prevent Firefox from using too much memory, using tactics such as starting in safe mode, removing extensions, and more. This article's information applies to the Mozilla Firefox web browser on Windows, macOS, and Linux computers. 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. 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. 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. Select the Menu icon (three horizontal lines) in the top-right corner. Select Options on the dropdown 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. Type about:support in the address bar and press Enter or Return. Under Try Safe Mode, select Restart with Add-ons Disabled. Select Start in Safe mode when Firefox restarts. 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. Select the Menu icon (three horizontal lines) in the top-right corner. Select Add-ons from the dropdown menu. Select Extensions in the menu on the left. Select the three-dot icon next to an extension. Select Disable on the dropdown 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 the Menu icon (three horizontal lines) in the top-right corner. Select Add-ons from the dropdown 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 the Menu icon (three horizontal lines) in the top-right corner. Select Options from the dropdown 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. 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. Head to the Auto Tab Discard listing on Mozilla's 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 Firebox 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. 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 on 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: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. 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.