Compare Revisions
Firefox uses too many CPU resources - How to fix
Revision 177802:
Revision 177802 by AliceWyman on
Revision 177803:
Revision 177803 by AliceWyman on
Keywords:
usage processor processing slow
usage processor processing slow
Search results summary:
At times, Firefox may require significant CPU resources to display content. We'll show you options for fixing this if this if it is happening too often.
At times, Firefox may require significant CPU resources to display content. We'll show you options for fixing this if this if it is happening too often.
Content:
At times, Firefox may require significant CPU resources in order to download, process, and display web content. If you are experiencing periods of sustained high CPU usage while using Firefox, this article presents some options for you to review.
* The CPU (Central Processing Unit) is the "brain" of the computer. When the CPU is being heavily used, the overall performance of the computer can be impacted.
* Depending on your operating system, you can review and monitor CPU usage through specific tools. {for win}On Windows, the Performance tab of the Windows Task Manager displays the rate of CPU consumption.{/for}
{note}'''Note:''' If you [[Share telemetry data with Mozilla to help improve Firefox|send performance data]], Mozilla will gather data including the CPU usage for your Firefox, which will help making Firefox better for future versions.{/note}
__TOC__
= Updating to the latest version =
The latest Firefox version includes improvements about CPU usage. [[Update Firefox to the latest version|Update to the latest version]].
= Add-ons =
== Disabling CPU consuming extensions and themes ==
Extensions and themes can cause Firefox to use more CPU than it normally would.
To determine if an extension or theme is causing Firefox to use too much CPU, start Firefox in its [[Troubleshoot Firefox issues using Safe Mode|Safe Mode]] and observing its CPU 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 intrusive content ==
Many web pages have content you don't need, such as ads, but which still use CPU resources to display its content. If Adobe's [https://www.adobe.com/products/flashplayer.html Flash Player] plugin is installed, use the "Ask to Activate" setting in the Add-ons Manager Plugins panel to prevent automatic loading of unwanted Flash content. See the [[Set Adobe Flash to "click to play" on Firefox]] article for details.
Some extensions allow you to block unneeded content; for example:
* [https://addons.mozilla.org/firefox/addon/adblock-plus/ Adblock Plus] and [https://addons.mozilla.org/firefox/addon/ublock-origin/ uBlock Origin] allow you to hide ads on websites.
* [https://addons.mozilla.org/firefox/addon/noscript NoScript] allows you to selectively enable and disable all scripts running on websites.
== Checking Flash hardware acceleration ==
If Adobe's [https://www.adobe.com/products/flashplayer.html Flash Player] plugin is installed, video content rendering in full screen can be accelerated by hardware. It eases CPU usage in case of a dedicated graphics card.
# Navigate to a page that shows a Flash video.
# {for win,linux}Right-click{/for}{for mac}Hold down the {key Ctrl} key while you click{/for} on the video player and click {menu Settings…} 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 {button Close} to close the Adobe Flash Player Settings Window.
= Checking Firefox hardware acceleration =
<!-- this section duplicates the information in https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram#w_checking-firefox-hardware-acceleration -->
Firefox hardware acceleration eases CPU usage.
*Check that hardware acceleration is [[Firefox's performance settings|turned on]] and that [[Upgrade your graphics drivers to use hardware acceleration and WebGL|your graphics drivers are up-to-date]].
= Corrupt content-prefs.sqlite file =
Firefox stores your data in various files in your profile folder. The file used for saving individual website settings might be corrupt. If you delete that file, your zoom level settings will be reset, but it should decrease CPU usage.
# [[T:OpenProfileFolder]]
# [[T:closeFirefox]]
# In your profile folder, delete the file {filepath content-prefs.sqlite}. It will be recreated next time you open Firefox.
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Firefox_CPU_usage Firefox CPU usage (mozillaZine KB)]'''''
At times, Firefox may require significant CPU resources in order to download, process, and display web content. If you are experiencing periods of sustained high CPU usage while using Firefox, this article presents some options for you to review.
* The CPU (Central Processing Unit) is the "brain" of the computer. When the CPU is being heavily used, the overall performance of the computer can be impacted.
* Depending on your operating system, you can review and monitor CPU usage through specific tools. {for win}On Windows, the Performance tab of the Windows Task Manager displays the rate of CPU consumption.{/for}
{note}'''Note:''' If you [[Share data with Mozilla to help improve Firefox|send performance data]], Mozilla will gather data including the CPU usage for your Firefox, which will help making Firefox better for future versions.{/note}
__TOC__
= Updating to the latest version =
The latest Firefox version includes improvements about CPU usage. [[Update Firefox to the latest version|Update to the latest version]].
= Add-ons =
== Disabling CPU consuming extensions and themes ==
Extensions and themes can cause Firefox to use more CPU than it normally would.
To determine if an extension or theme is causing Firefox to use too much CPU, start Firefox in its [[Troubleshoot Firefox issues using Safe Mode|Safe Mode]] and observing its CPU 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 intrusive content ==
Many web pages have content you don't need, such as ads, but which still use CPU resources to display its content. If Adobe's [https://www.adobe.com/products/flashplayer.html Flash Player] plugin is installed, use the "Ask to Activate" setting in the Add-ons Manager Plugins panel to prevent automatic loading of unwanted Flash content. See the [[Set Adobe Flash to "click to play" on Firefox]] article for details.
Some extensions allow you to block unneeded content; for example:
* [https://addons.mozilla.org/firefox/addon/adblock-plus/ Adblock Plus] and [https://addons.mozilla.org/firefox/addon/ublock-origin/ uBlock Origin] allow you to hide ads on websites.
* [https://addons.mozilla.org/firefox/addon/noscript NoScript] allows you to selectively enable and disable all scripts running on websites.
== Checking Flash hardware acceleration ==
If Adobe's [https://www.adobe.com/products/flashplayer.html Flash Player] plugin is installed, video content rendering in full screen can be accelerated by hardware. It eases CPU usage in case of a dedicated graphics card.
# Navigate to a page that shows a Flash video.
# {for win,linux}Right-click{/for}{for mac}Hold down the {key Ctrl} key while you click{/for} on the video player and click {menu Settings…} 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 {button Close} to close the Adobe Flash Player Settings Window.
= Checking Firefox hardware acceleration =
<!-- this section duplicates the information in https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram#w_checking-firefox-hardware-acceleration -->
Firefox hardware acceleration eases CPU usage.
*Check that hardware acceleration is [[Firefox's performance settings|turned on]] and that [[Upgrade your graphics drivers to use hardware acceleration and WebGL|your graphics drivers are up-to-date]].
= Corrupt content-prefs.sqlite file =
Firefox stores your data in various files in your profile folder. The file used for saving individual website settings might be corrupt. If you delete that file, your zoom level settings will be reset, but it should decrease CPU usage.
# [[T:OpenProfileFolder]]
# [[T:closeFirefox]]
# In your profile folder, delete the file {filepath content-prefs.sqlite}. It will be recreated next time you open Firefox.
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Firefox_CPU_usage Firefox CPU usage (mozillaZine KB)]'''''