Wersije pśirownaś

Firefox uses too much memory or CPU resources - How to fix

Wersija 32562:

Wersija 32562 wót wužywarja Verdi

Wersija 32767:

Wersija 32767 wót wužywarja ideato

Klucowe słowa:

slow
slow

Zespominanje pytańskich wuslědkow:

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.

Wopśimjeśe:

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 make 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]]
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 make 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 == [https://support.mozilla.org/en-US/kb/extensions-add-features-to-firefox Extensions] and [https://support.mozilla.org/en-US/kb/use-themes-change-look-of-firefox 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 = [https://support.mozilla.org/en-US/kb/use-plugins-play-audio-video-games 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]]

Slědk k historiji