본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

After waking from suspend, firefox 69.0 on Linux dramatically increases RAM usage

  • 3 답장
  • 1 이 문제를 만남
  • 8 보기
  • 최종 답변자: savhp

more options

Long time Firefox user on linux and only recently noticed this RAM usage issue. Maybe it also affects FF 68?

I can use firefox all day running linux peppermint OS 9(fully updated) with Xanmod kernel 4.19.66 but after I suspend the laptop and resume, firefox behaves normally for approx. 1/2 hour then RAM usage increases dramatically. I only noticed this while running a virtual machine and FF ate all my remaining ram.

Minimizing memory usage from about:memory helps for a short while but FF will again consume too much ram.

However, if I close FF and restart teh ram usage stays within normal limits all day ...until I suspend and wake the laptop again.

I have noticed this issue on two different configurations:

1. T510 laptop running Peppermint OS 9 with windows virtual guest taking majority of RAM.  FF on linux host usually stays within 2GB of usage but after suspend it jumps much higher and consumes ram freezing the laptop.

2. W530 laptop running Windows 10 OS (1903) and Linux Peppermint 10 OS as virtual guest. FF on linux guest also consumes more RAM after waking Win10 from suspend and crashes Linux virtual guest.

Long time Firefox user on linux and only recently noticed this RAM usage issue. Maybe it also affects FF 68? I can use firefox all day running linux peppermint OS 9(fully updated) with Xanmod kernel 4.19.66 but after I suspend the laptop and resume, firefox behaves normally for approx. 1/2 hour then RAM usage increases dramatically. I only noticed this while running a virtual machine and FF ate all my remaining ram. Minimizing memory usage from about:memory helps for a short while but FF will again consume too much ram. However, if I close FF and restart teh ram usage stays within normal limits all day ...until I suspend and wake the laptop again. I have noticed this issue on two different configurations: 1. T510 laptop running Peppermint OS 9 with windows virtual guest taking majority of RAM. FF on linux host usually stays within 2GB of usage but after suspend it jumps much higher and consumes ram freezing the laptop. 2. W530 laptop running Windows 10 OS (1903) and Linux Peppermint 10 OS as virtual guest. FF on linux guest also consumes more RAM after waking Win10 from suspend and crashes Linux virtual guest.

모든 댓글 (3)

more options

Does about:memory show what is taken up this memory ?

You can check the Firefox Task Manager (about:performance) and about:memory pages.

more options

Thanks for reply. About:memory is not able to help me because this event happens fast and as you may know linux locks up when out of memory.

As I mentioned memory usage can be good for long stretches and then it accelerates. I noticed the issue when running virtual machines and I leave approx. 2GB+ of RAM free for firefox. For example, on my windows host I have a linux VM (Peppermint10 OS) with 3.7GB allocated. The operating system takes 400-500MB and that leaves approx. 3GB for FF which is the only application open on the machine and I usually only keep 3 tabs open: Toggl timer, Freedcamp and Yahoo mail and sometimes I will open an extra search tab but usually close it when I am done. I have used about:config to reduce all cache values and under preferences>performance I have reduced FF processes to 3.

I have configured the linux memory subsystem as follows: vm.swappiness=25 vm.dirty_ratio = 18 vm.dirty_background_ratio = 9

For the linux host machine(Peppermint 9 OS) and windows guest I have 8GB of system RAM and allocate 3.8Gb to windows 10 guest and only open FF with the same tab usage scenario described above. If I open more than 3 tabs then I can watch RAM usage climb until I clear the memory or kill FF.

All my FF installations are synced and use the following extensions: Dark mode, Duck Duck Go, Ublock-origin, Webmail adblocker and Privacy Badger.

more options

While FF was running normally, I opened about:performance and what stood out is that the Toggl web site is using the most memory at 120MB, yahoo was second at 42MB and all other sites and extension were around 10MB.