為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

I seem to have what used to be called a memory leak and need to restart FF every 45 minutes or so - can I fix it?

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Roald

more options

2fter about 2 weeks of closely monitoring 2 PC's with roughly the same specs running the same Facebook game it has become clear that as minutes go by the amount of memory being consumed by Firefox goes up. It starts at about 250 megs and runs up to about 1 gig in ~45 minutes. Both machines are 3 ghz, 3gb machines running 32 bit XP home. (Older P4 CPU's) One of the machines is running DDR2 and the other DDR

When the memory get's to about 750 megs used by FF the entire system bogs down noticeably and gets almost unusable beyond that. Is there something I can do about it or is there a way for me to automate the shut down and restart of FF and have it return to the game?

2fter about 2 weeks of closely monitoring 2 PC's with roughly the same specs running the same Facebook game it has become clear that as minutes go by the amount of memory being consumed by Firefox goes up. It starts at about 250 megs and runs up to about 1 gig in ~45 minutes. Both machines are 3 ghz, 3gb machines running 32 bit XP home. (Older P4 CPU's) One of the machines is running DDR2 and the other DDR When the memory get's to about 750 megs used by FF the entire system bogs down noticeably and gets almost unusable beyond that. Is there something I can do about it or is there a way for me to automate the shut down and restart of FF and have it return to the game?

所有回覆 (3)

more options

A tiny suggestion,

I heard that a lot of the time this is caused by extensions and add-ons. Try to disable all of them and see if it is any difference. If its better just enable one extension at the time until you found the problem.

If you cant solve the memory issue, here is a fix that should work making ff restart, if not at a specific memory usage, but on a specific time at least:

Open notepad and write the following:

taskkill /f firefox.exe

Name it FFShutdown.bat and save it

Open a new page of notepad with this line:

start firefox.exe https://support.mozilla.com/

Save that file as FFstart.bat


Now go to windows task scheduler Start > Programs > Accessories > System Tools > Scheduled Tasks

Browse to your FFShutdown.bat and choose daily and set a time. Do the same for FFStart.bat but set it one minute later.

Repeat this if you want it happen more than once per day.

Hope that helps

more options

oh sorry I can see you are using XP Home. Think taskkill.exe only works in professional,

Not sure what the program is used in the home edition but im sure someone else know. Or there are numerous programs you can download and install that terminates programs but im pretty much against installing extra apps. If you want it you have to google it "taskkill.exe in XP home".

good luck

more options

I must be getting old... I completely forgot about .bat files. Haven't touched one since the late '80's

I'll figure out how to kill FF and setup the bat files. Never used the scheduled tasks but that's probably a workable means.

too bad it's a time of day rather than elapsed time...