为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Limit memory usage per Tab without blocking things?

  • 6 个回答
  • 9 人有此问题
  • 4 次查看
  • 最后回复者为 willJ02

more options

I recently upgraded from Firefox 32 to 64 bit and suddenly Firefox is using up the memory of my laptop. I think it's because some websites have too many running scripts. Is there a way to limit memory per tab without using blocking software? I avoid Adblock and NoScript because it blocks too many ads. Most websites are responsible with their ads so I don't want to deny them ad revenue.

I recently upgraded from Firefox 32 to 64 bit and suddenly Firefox is using up the memory of my laptop. I think it's because some websites have too many running scripts. Is there a way to limit memory per tab without using blocking software? I avoid Adblock and NoScript because it blocks too many ads. Most websites are responsible with their ads so I don't want to deny them ad revenue.

被采纳的解决方案

The adblocker ublock origin

May be useful it is easy to turn on and off on a per website basis.

In addition to the about:memory tool there is now a memory profiler tool built in to Firefox for studying the website use of memory per tab. It is probably more use in trying to debug website issues but may be worth you being aware it is available

定位到答案原位置 👍 1

所有回复 (6)

more options

Firefox shouldn't be using that much memory.

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window

When multi-process windows in Firefox is enabled then Firefox will use more memory and may be less responsive. Try to disable multi-process windows in Firefox to see if that has effect.

You can disable multi-process windows in Firefox by setting these prefs to false on the about:config page.

  • browser.tabs.remote.autostart = false
  • browser.tabs.remote.autostart.2 = false

You can open the about:config page: via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

选择的解决方案

The adblocker ublock origin

May be useful it is easy to turn on and off on a per website basis.

In addition to the about:memory tool there is now a memory profiler tool built in to Firefox for studying the website use of memory per tab. It is probably more use in trying to debug website issues but may be worth you being aware it is available

more options

cor-el said

Firefox shouldn't be using that much memory. Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.
  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
When multi-process windows in Firefox is enabled then Firefox will use more memory and may be less responsive. Try to disable multi-process windows in Firefox to see if that has effect. You can disable multi-process windows in Firefox by setting these prefs to false on the about:config page.
  • browser.tabs.remote.autostart = false
  • browser.tabs.remote.autostart.2 = false
You can open the about:config page: via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

I disabled my add-ons so they won't take up memory. I will try disabling Multi Process and see if it helps.

more options

John99 said

The adblocker ublock origin May be useful it is easy to turn on and off on a per website basis. In addition to the about:memory tool there is now a memory profiler tool built in to Firefox for studying the website use of memory per tab. It is probably more use in trying to debug website issues but may be worth you being aware it is available

Sorry, the addon looks complicated. Is there a dummies manual how to use uBlock Origin?

This is what I want to do. For a select list of websites, I want to block most of the scripts, for example, www.dailymail.co.uk, but I only these sites. I don't mind if other websites use the same scripts. Other websites have ads too but they are tolerable but I find dailymail.co.uk went overboard in their ads, frames, media, javascripts, etc. Is it possible with uBlock Origin addon?

more options

I found the guide of uBlock Origin. So I get the global to Green and the local settings for dailymail.co.uk to Gray. It helped reduce my memory usage. Thanks!

more options

Having almost the same problem here. Gonna try that uBlock Origin as well.