ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Possible IPC memory leak - how to pinpoint the culprit?

  • 11 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 14 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

more options

Hey there, I'm having trouble with Firefox. Something inside Firefox is eating up my RAM and CPU. Usually I recognize the problem happening because my laptop fans ramp up. The problem occurs on my laptop as well on my desktop (both on latest stable Firefox[Build ID: 20220513165813] and Windows 11). The workaround is to kill the Firefox subprocess which is using most of the CPU and RAM. Then everything is back to normal for some time, until Firefox starts messing with me again.

While trying to pinpoint the problem I'm stuck. I can't find a culprit other than the fact it has something to do with Firefox. Clean reinstalling did not help. The Firefox Task Manager doesn't know anything about huge amounts of RAM being taken. I searched for solutions on the net and the about:memory indicates the problem is some IPC related stuff:

 {
  "process": "Main Process (pid 12648)",
  "path": "queued-ipc-messages/content-parent(Browser, pid=9612, open channel, 0x22e4b33fc30, refcnt=38)",
  "kind": 2,
  "units": 1,
  "amount": 0,
  "description": "The number of unset IPC messages held in this ContentParent's channel.  A large value here might indicate that we're leaking messages.  Similarly, a ContentParent object for a process that's no longer running could indicate that we're leaking ContentParents."
 }

The bug reporting guidelines(https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html) are encouraging me to attach steps to reproduce and try the steps listed on https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources . But I've exhausted the steps there (Except for upgrading the PC / RAM).

Especially on the go this Firefox-RAM-Party takes quite some battery and right now while writing this Firefox has >100GB virtual RAM reserved for some IPC messages, I personally think this is too much. So I'd like to file a report, but without steps to reproduce I'm afraid the developers are going to say 'well, that's something we are not able to diagnose', because I am unable to explain how to reproduce it. It just happens from time to time.

The anonymized about:memory report: https://bin.disroot.org/?2ba01ef78154cce4#8PLVqLTd9qgaRn2QVX2P17hkbHQyrTDuVAwoykj2cBxg

I left Firefox running like this for about half an hour and at 138GB reserved RAM Windows slaughtered my Firefox. The resulting crash report: https://bin.disroot.org/?0bc57492585dde4b#5YtbWgXcbZSkWYmg2CGkVn9iiipYwfYbxUfCLhmMJh7d

Do you have a clue where I might find out who sends those IPC messages, and therefore who is responsible for this?

Hey there, I'm having trouble with Firefox. Something inside Firefox is eating up my RAM and CPU. Usually I recognize the problem happening because my laptop fans ramp up. The problem occurs on my laptop as well on my desktop (both on latest stable Firefox[Build ID: 20220513165813] and Windows 11). The workaround is to kill the Firefox subprocess which is using most of the CPU and RAM. Then everything is back to normal for some time, until Firefox starts messing with me again. While trying to pinpoint the problem I'm stuck. I can't find a culprit other than the fact it has something to do with Firefox. Clean reinstalling did not help. The Firefox Task Manager doesn't know anything about huge amounts of RAM being taken. I searched for solutions on the net and the about:memory indicates the problem is some IPC related stuff: { "process": "Main Process (pid 12648)", "path": "queued-ipc-messages/content-parent(Browser, pid=9612, open channel, 0x22e4b33fc30, refcnt=38)", "kind": 2, "units": 1, "amount": 0, "description": "The number of unset IPC messages held in this ContentParent's channel. A large value here might indicate that we're leaking messages. Similarly, a ContentParent object for a process that's no longer running could indicate that we're leaking ContentParents." } The bug reporting guidelines(https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html) are encouraging me to attach steps to reproduce and try the steps listed on https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources . But I've exhausted the steps there (Except for upgrading the PC / RAM). Especially on the go this Firefox-RAM-Party takes quite some battery and right now while writing this Firefox has >100GB virtual RAM reserved for some IPC messages, I personally think this is too much. So I'd like to file a report, but without steps to reproduce I'm afraid the developers are going to say 'well, that's something we are not able to diagnose', because I am unable to explain how to reproduce it. It just happens from time to time. The anonymized about:memory report: https://bin.disroot.org/?2ba01ef78154cce4#8PLVqLTd9qgaRn2QVX2P17hkbHQyrTDuVAwoykj2cBxg I left Firefox running like this for about half an hour and at 138GB reserved RAM Windows slaughtered my Firefox. The resulting crash report: https://bin.disroot.org/?0bc57492585dde4b#5YtbWgXcbZSkWYmg2CGkVn9iiipYwfYbxUfCLhmMJh7d Do you have a clue where I might find out who sends those IPC messages, and therefore who is responsible for this?
ภาพหน้าจอที่แนบมา

การตอบกลับทั้งหมด (11)

more options

Well, something shredded the pictures I uploaded. You may find another copy here: https://postimg.cc/gallery/tJDSP3y

มีประโยชน์หรือไม่

more options

Such high memory leaks is akin to corrupted install and fixes are uninstall and remove profiles and delete mozilla/firefox folders to prevent the issuing continuing and then download latest Firefox and reinstall to rebuild the profile again. This is the lasts resort to fix this.

มีประโยชน์หรือไม่

more options

Dropa said

reinstall to rebuild the profile again

Thank you for the reply. I have removed everything once already. I am going to do this again and make sure absolutely nothing from the old install remains on the PC. In case this does not help I'll report back..

มีประโยชน์หรือไม่

more options

Make sure no Addons also check your A/V sometimes disabling it helps installs as it might block or remove something needed to properly install. So what A/V are you using.

มีประโยชน์หรือไม่

more options

I really don't want to miss the addons, that's the reason I want to pinpoint the issue to maybe one faulty extension. But removing every extension is not really an option for me, as it would heavily impact my workflow. The AV solution is plain Windows Defender, nothing special there.

มีประโยชน์หรือไม่

more options

You have to disable and turn one at a time on/off to find what is causing the issue. Since firefox doesn't create Addons it's up to the user to contact the Addon Developer if their Addons is causing problems to fix it.

มีประโยชน์หรือไม่

more options

The problem has happened once again. This time I disabled one addon after another to find the bad fish in the bowl, but Firefox kept reserving more and more RAM, even with all addons disabled. I then went ahead and used Process Explorer from Sysinternals to get a dump. I might share the minidump, the full dump is 42.2GB. Are there any other steps you recommend or should I go straight ahead to filing a report and, in case the team has no fix, refrain from using Firefox in the future?

เปลี่ยนแปลงโดย Sewana เมื่อ

มีประโยชน์หรือไม่

more options

Did another full wipe of my entire profile folder before and copied nothing from the old profile to the new one, just fyi.

มีประโยชน์หรือไม่

more options

So where are you downloading firefox from?

มีประโยชน์หรือไม่

more options

Dropa said

So where are you downloading firefox from?

The Mozilla webpage at: https://www.mozilla.org/de/firefox/new/

มีประโยชน์หรือไม่

more options

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

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

มีประโยชน์หรือไม่

ถามคำถาม

คุณต้องเข้าสู่ระบบบัญชีของคุณเพื่อตอบกลับโพสต์ โปรดเริ่มคำถามใหม่ หากคุณยังไม่มีบัญชี