搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox uses full CPU resource when minimized

  • 32 回覆
  • 15 有這個問題
  • 7 次檢視
  • 最近回覆由 danei

more options

When minimized, after seconds, fx start to use 20%~50% cpu (out of 2 cores), and restoring fx window immediately brings fx cpu usage back to normal. This happens when no page is load. 1, I've tried new clean profile with no luck. 2, it doesn't happen 100% of time, but frequently. 3, memory usage keeps steady, so it doesn't seem like GC issue.

http://i.imgur.com/qEG3w6T.png

When minimized, after seconds, fx start to use 20%~50% cpu (out of 2 cores), and restoring fx window immediately brings fx cpu usage back to normal. This happens when no page is load. 1, I've tried new clean profile with no luck. 2, it doesn't happen 100% of time, but frequently. 3, memory usage keeps steady, so it doesn't seem like GC issue. http://i.imgur.com/qEG3w6T.png

由 danei 於 修改

所有回覆 (20)

more options

hello danei, can you replicate this behaviour in firefox in safe mode too?

Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

Yes, it also happens for safe mode, at the 1st try.

more options

does it make a difference if you disable all your plugins under firefox > addons > plugins temporarily? (not extensions, since they won't be active in safemode anyway)...

more options

All plugins disabled in safe mode, still no luck...

more options

ok, this sounds strange - could you decribe your system's setup a little bit more: what kind of hardware you're running, what security software is used, are you using a dual-screen setup by any chance, etc...

more options

Hardware: thinkpad sl400 CPU: E8135@2.66 GHz RAM: 6G ddr2 Graphic card: nvidia G105M 256M Display: only built-in lcd @1280*800

Software: Windows 7 sp1 64bit ultimate, fully updated Microsoft Security Essentials (turn off protection makes no difference...)

Any other info needed?

more options

i'm pretty much clueless - i also didn't find any existing bug that resembles your symptoms... since when is this problem happening - did it change after an update (by firefox or windows)?

more options

Did you manually disable all plugins because Safe Mode doesn't affect plugins?


Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.

more options

I'm not sure about when, because I often leave fx window visible. I accidentally left fx minimized for hours several days ago and when I was back my machine was as hot as an iron.

I don't remember the issue was there before version 20. I may try v19 another time.

@cor-el: Yes I tried disabling all plugins, with no luck. I may try safe mode another day. For now, so much work to do...

由 danei 於 修改

more options

@philipp Fx 19 is fine. @cor-el Booting into safe mode doesn't help.

more options

@iamjayakumars: You don't read, do you?

more options

Lets see if we can do any thing to get it to not use high CPU.

  1. Set Firefox to start from a homepage, and set that as about:blank
  2. Make a new additional clean profile
  3. Boot into Windows safemode without network support
  4. Start Firefox in Firefox's safe mode, with all plugins disabled in the new profile
  5. Now check CPU usage, it should be normal and minimal. Give it a minute or two.
  6. Now minimise does it still increase ?
  • How are you checking CPU usage ?
    (Task manager or something more sophisticated ? )
  • Is nearly all the CPU usage from a single firefox process ?

I am also wondering if it may be worth considering the possibility of a malware problem.

more options

@John99: Ok, last time I tried booting into safe mode with network and it didn't help. And I just tried your approach and still, no luck...

I use windows' builtin task manager to check cpu usage, sysinternal's process explorer shows identical result. Single firefox.exe boosts to use about 20%~50% cpu when minimized, and since my cpu has 2 cores, I think it means fx takes 40%~100% cpu time of single core.

I don't think it's about malware, because fx 19 (even when using my current profile in normal mode in normal windows state) doesn't have such issue. And I've tried downloading fx20 and extract files to another place and problem is still the same.

more options

Did you check in PE which thread (if one specific) is taking up that CPU usage?

Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

Your bookmarks and other profile data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.

If you keep having problems then also create a new profile.



Do a malware check with some malware scanning programs on the Windows computer.
Please scan with all programs because each program detects different malware.

Make sure that you update each program to get the latest version of their databases before doing a scan.

You can also do a check for a rootkit infection with TDSSKiller.

See also:

more options

@cor-el: Ok, see screenshot: http://i.imgur.com/wDzvfH7.png

I've tried reinstalling fx already. No luck.

I've MSE installed and running so I don't think it's a virus problem. If we go into this direction, next step will be to re-install the system clean, and change my hardware part by part. That would be too far and useless.

more options

I've noticed that if I open enough tabs where the "+" sign flashes indicating tabs are going beyond the screen, then firefox seems to start hogging cpu, even after tabs are closed. If I only open enough tabs to max out the tab bar but NOT have any go past the "+", then firefox idles at 0 cpu no problem. If I repeatedly open tabs to go beyond the "+", close them down, etc, etc, eventually firefox starts eating all spare cpu cycles, making cpu max at 100%. It does this even after I've closed all other tabs, and just have 1 left open. I wait to see if maybe some kind of garbage collector or memory manager or something will kick in, but it just keeps hogging the cpu even though nothing is going on (eg: just sitting on google's home page). I've disabled add-ons, plugins, etc. I used the Help > Troubleshooting Information > Reset Firefox button to reset my profile. I've opened in safe mode. I switched off javascript. Tried lots of things, but still got same result.

The cpu hogging gets so aggressive that other programs will start getting interrupted (eg: win media player will start "skipping" the mp3 playing, b/c it's fighting to get enough cpu time to play it fluidly).

I'm using WinXP on an old Dell POS celeron box w/ 1gb ram at work. It's old, but I haven't had problems with Firefox doing this on the comp until 20.x upgrade.

more options

You should still do a malware check because it sounds that Firefox is doing some tasks in idle mode.

Did you already create a new profile directly (i.e. not a reset)?

Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.

Download a fresh Firefox copy and save the file to the desktop.

Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.

  • Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will lose all personal data like bookmarks and passwords from profiles of other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

  • (32 bit Windows) C:\Program Files\Mozilla Firefox\
  • (64 bit Windows) C:\Program Files (x86)\Mozilla Firefox\
  • It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
  • http://kb.mozillazine.org/Uninstalling_Firefox

Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.

If you keep having problems then also create a new profile.


more options

@cor-el: a malware that infects only firefox 20 but not 19 or any other program, and MSE scan cannot detect doesn't sound any logic to me.

As for those profile and re-install things, I've done so many times in so many way for at least 3 different versions and I'm tired of these.

more options

I hate to give up here but I say you've done all you can do and there's no shame in stopping here.

You can try a different browser like Google Chrome and hopefully get better results.

Although you say you've tried many new profiles and Firefox Safe Mode. I'd like to mention one thing you may have overlooked. Plugins. Plugins are different than addons and are not disabled when using Firefox safe mode, only the add-ons are disabled.

I know you said you already tried this here but just mentioning it in case you didn't do the way I explain it below.

So you can try disabling all your plugins individually and surf for a while and see if there's a difference: Tools > Add-ons > Plugins

I suspect it's a plugin b/c you have 103 processes running in your screenshot above. I'm not saying that's the most I've ever seen but it feels like there's one too many programs running at the same time. So it feels like a plugin is hooking into Firefox.

You can keep trying to solve the problem if you like Firefox that much. But it's looking grim in my opinion.

由 NoahSUMO 於 修改

  1. 1
  2. 2