Sɔ Numetotowo kpɔ
Firefox uses too much memory or CPU resources - How to fix
Numetoto 27164:
Wole numetoto 27164 me tom si tso Verdi gbɔ le dzi
Numetoto 29690:
Wole numetoto 29690 me tom si tso scoobidiver gbɔ le dzi
Nya veviwo:
ram use slow
slow
Nudidi ƒe numetsonu kpui:
This article describes how to make Firefox use less memory to make it run faster and prevent crashes.
This article describes how to make Firefox use less memory to make it run faster and prevent crashes.
Emenu:
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. {for win}On Windows, the Performance tab of the Windows Task Manager displays memory usage.{/for}
__TOC__
= Updating to the latest version =
The latest Firefox version includes improvements about memory usage. [[Updating Firefox|Update to the latest version]].
= 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 [[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 [[Troubleshooting extensions and themes]].
== Blocking unnecessary content ==
Many web pages have content you don't really need such as ads and that uses memory to display (see [[#w_plugins|the plugin section below]]). Some extensions allow you to block such unnecessary content:
* [https://addons.mozilla.org/firefox/addon/adblock-plus/ Adblock Plus] lets you block ads on websites.
* [https://addons.mozilla.org/firefox/addon/flashblock Flashblock] allows you to selectively enable and disable Flash content on websites.
= Plugins =
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 [http://www.mozilla.org/plugincheck 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:
# [[T:Open Add-ons|type=Plugins]]
# Click on a plugin in the list to select it, then press {button Disable} 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 you can't because its use is widespread on Internet, try to find an alternative lighter plugin:
* For PDF readers lighter than [[Using the Adobe Reader plugin with Firefox|Adobe Reader]], see the [[Opening PDF files within Firefox]] article.
== 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.
# {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.
{for fx4}
= Checking Firefox hardware acceleration =
Firefox hardware acceleration eases memory usage in case of a dedicated graphic card memory.
Check hardware acceleration is [[Options window - Advanced panel#w_browsing|turned on]] and [[How do I upgrade my graphics drivers?|your graphic drivers are up-to-date]].
{/for}
<!-- Commented out for monkey reasons.
= Settings that reduce memory usage =
Firefox has hidden settings that let you change how it uses memory.
== Memory cache ==
Firefox caches image and interface data in memory so they can be displayed quickly. You can see how much memory Firefox uses for this purpose.
# Type '''about:cache''' in the Location Bar at the top of the Firefox window and press {for win,linux}{key Enter}{/for}{for mac}{key Return}{/for}.
# A page listing your Firefox cache information should appear. Under the '''Memory cache device''' heading, '''Maximum storage size''' refers to the maximum amount of memory Firefox will use for this purpose, and '''Storage in use''' refers to the current amount of memory Firefox is using for this purpose.
By default, Firefox will use more memory on computers with more memory installed. You can change the limit for your computer.
;:{note}'''Lowering the amount of memory available for caching will increase the amount of time Firefox takes to display web pages and dialogs.'''{/note}
# [[T:aboutconfig]]
# The about:config page should appear. {for win,linux}Right-click{/for}{for mac}Hold down the {key Ctrl} key while you click{/for} in the main part of the window, then select {menu New}, and then slect {menu Integer}.<br/> <br/>[[Image:highmemusage-newinteger.png]] <br/> <br/>
# When prompted, type {pref browser.cache.memory.capacity} and press {button OK}.
# Next, type the maximum number of kilobytes you want Firefox to use for cache and press {button OK}.
If you want to set the preference back to its default value:
# [[T:aboutconfig]]
# Search for the preference {pref browser.cache.memory.capacity}.
# {for win,linux}Right-click{/for}{for mac}Hold down the {key Ctrl} key while you click{/for} the entry for browser.cache.memory.capacity and press {menu Reset}.
== Cached previously viewed pages ==
Firefox stores pages in memory so they can be displayed quickly when you press Back or Forward. By default, Firefox will use more memory on computers that have more memory installed. You can change the maximum number of pages Firefox will store for this purpose on your computer.
;:{note}'''Lowering the number of stored pages will slow down Firefox when you press Back or Forward.'''{/note}
# [[T:aboutconfig]]
# The about:config page should appear. Search for the preference {pref browser.sessionhistory.max_total_viewers}, and double-click on it.
# In the browser.sessionhistory.max_total_viewers prompt, type the maximum number of pages you want Firefox to store and press {button OK}.
If you want to set the preference back to its default value:
# [[T:aboutconfig]]
# Search for the preference {pref browser.sessionhistory.max_total_viewers}.
# {for win,linux}Right-click{/for}{for mac}Hold down the {key Ctrl} key while you click{/for} the entry for browser.sessionhistory.max_total_viewers and press {menu Reset}.
{for win}
== Behavior on minimize ==
By default, Firefox will allow Windows to reclaim its memory when Windows needs it for other programs. Firefox can be configured to allow Windows to reclaim its memory immediately.
;:{note}'''Allowing Windows to reclaim the memory immediately will make Firefox slower to come up after being minimized.'''{/note}
# [[T:aboutconfig]]
# The about:config page should appear. Right-click anywhere in the grid and choose {menu New}, then {menu Boolean}.
# In the Enter the preference name prompt, type {pref config.trim_on_minimize} and press {button OK}.
# Next, choose {pref True} and press {button OK}.
If you want to set the preference back to its default value:
# [[T:aboutconfig]]
# Search for the preference {pref config.trim_on_minimize}.
# Right-click the entry for config.trim_on_minimize and press {menu Reset}.
{/for}
-->
= Restarting Firefox =
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 [[Session Restore]] 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:
* [[How do I use bookmarks?|Bookmarks]]. ''Hint: "[[Tabbed Browsing#w_tab-tips|Bookmark All Tabs]]" will bookmark a set of tabs.''
* [http://lifehacker.com/378062/five-best-gtd-applications To-do list applications].
{for fx7}
= Submitting performance data to Mozilla =
If you check [[Options window - Advanced panel#w_system-defaults|Submit performance data]], Mozilla will gather data including memory usage for your Firefox, which will help making Firefox better for future versions.
{/for}
= Memory troubleshooting tools =
<!--
Memory issues can be difficult to troubleshoot because they are normally visible only in aggregate. Furthermore, there are four broad categories of bugs that can lead to high memory use, which can be hard to distinguish.
* ''Bloat'', or using a large amount of memory to store a small amount of information. (Goes away when you close each tab.)
* ''Caching'', or intentionally remembering something for a limited time in case it is needed again. (Usually less than 100MB.)
* ''Fragmentation'', or failing to re-use free memory. (Usually limited to 2X.)
* ''Leaking'', or continuing to store data in memory after it is no longer needed.
-->
{for fx6}
* The '''about:memory''' page allows you to troubleshoot finely specific issues about memory (e.g. caused by a website, an extension, a theme) and sometimes its {button Minimize memory usage} button may help you instantly reduce memory usage.
{/for}
* [https://addons.mozilla.org/firefox/addon/ramback 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 [https://wiki.mozilla.org/Performance:Leak_Tools tools Firefox developers use to debug leaks].
<!-- Jesse Ruderman would be happy to walk users through setting up trace-refcnt! -->
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Reducing_memory_usage_-_Firefox Reducing memory usage - Firefox (mozillaZine KB)]'''''
[[Template:ShareArticle|link=http://mzl.la/LnX4ca]]
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. {for win}On Windows, the Performance tab of the Windows Task Manager displays memory usage.{/for}
{note}'''Note:''' If you [[Send performance data to Mozilla to help improve Firefox|send performance data]], Mozilla will gather data including the memory 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 memory usage. [[Update Firefox to the latest version|Update to the latest version]].
= 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|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 intrusive content ==
Many web pages have content you don't really need such as ads and that uses memory to display (see [[#w_plugins|the plugin section below]]). Some extensions allow you to block such unnecessary content:
* [https://addons.mozilla.org/firefox/addon/adblock-plus/ Adblock Plus] lets you block ads on websites.
* [https://addons.mozilla.org/firefox/addon/flashblock Flashblock] allows you to selectively enable and disable Flash content on websites.
* [https://addons.mozilla.org/firefox/addon/noscript NoScript] allows you to selectively enable and disable all scripts running on websites.
= Plugins =
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 [https://www.mozilla.org/plugincheck 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:
# [[T:Open Add-ons|type=Plugins]]
# Click on a plugin in the list to select it, then press {button Disable} 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 you can't because its use is widespread on Internet, try to find an alternative lighter plugin:
* For PDF readers lighter than [[Use the Adobe Reader plugin to view or download PDF files|Adobe Reader]], see [[View PDF files in Firefox without downloading them]].
== 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.
# {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 =
Firefox hardware acceleration eases memory usage in case of a dedicated graphic card memory.
Check hardware acceleration is [[Settings for network, updates and encryption#w_browsing|turned on]] and [[Upgrade your graphics drivers to use hardware acceleration and WebGL|your graphic drivers are up-to-date]].
= Restarting Firefox =
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:
* [[How to use bookmarks to save and organize your favorite websites|Bookmarks]]. ''Hint: "[[Use tabs to organize lots of websites in a single window#w_tab-tips|Bookmark All Tabs]]" will bookmark a set of tabs.''
* [http://lifehacker.com/378062/five-best-gtd-applications To-do list applications].
= Memory troubleshooting tools =
* The '''about:memory''' page allows you to troubleshoot finely specific issues about memory (e.g. caused by a website, an extension, a theme) and sometimes its {button Minimize memory usage} button may help you instantly reduce memory usage.
* [https://addons.mozilla.org/firefox/addon/ramback 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 [https://wiki.mozilla.org/Performance:Leak_Tools tools Firefox developers use to debug leaks].
<!-- Jesse Ruderman would be happy to walk users through setting up trace-refcnt! -->
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Reducing_memory_usage_-_Firefox Reducing memory usage - Firefox (mozillaZine KB)]'''''
[[Template:ShareArticle|link=http://mzl.la/LnX4ca]]