Firefox becomes unresponsive for more than a minute after closing the browser toolbox (which was opened for a long time)
Categories
(DevTools :: General, defect, P2)
Tracking
(Not tracked)
People
(Reporter: itiel_yn8, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: memory-leak, perf)
Attachments
(1 file)
(deleted),
text/plain
|
Details |
Thank you for helping make Firefox better. If you are reporting a defect, please complete the following:
What were you doing?
- (Optional; Not sure if doing this is required to make this reproduce) Be on a profile with lots of tabs open (in my case it's 730, but the vast majority of them are on-demand)
- Open the Browser Toolbox, do nothing with it. Let it sit in the background and continue your normal browsing session
- Wait for Firefox's processes to bubble up to something around 6GB~ of RAM usage (the longer you wait the bigger it'll get, and the hang will also get longer)
- Close the Browser Toolbox
What happened?
Firefox is unresponsive. It takes a while until the processes cool down to normal RAM usage, and then Firefox is responsive again.
What should have happened?
Slightly more normal RAM usage during the time when the Browser Toolbox is open, and no hung Firefox after closing it.
Anything else we should know?
Profile:
https://share.firefox.dev/31Hrodb
Updated•4 years ago
|
Comment 1•4 years ago
|
||
According to the profile, this seems to be related to pool cleanup.
This might have been improved by Bug 1684965. Pool::getParent was known to be slow and was significantly improved by this bug.
Itiel: sorry for the late ping, but can you test again with a recent Nightly and see if it performs better?
(In reply to Julian Descottes [:jdescottes] from comment #1)
According to the profile, this seems to be related to pool cleanup.
This might have been improved by Bug 1684965. Pool::getParent was known to be slow and was significantly improved by this bug.Itiel: sorry for the late ping, but can you test again with a recent Nightly and see if it performs better?
Not in the slightest. Memory usage got to 8.2GB and Nightly was too much sluggish that I couldn't even press the Profiler button.
Nightly then hang for ~5 minutes (after closing the toolbox), with the memory usage going up to 8.7GB, then it went back down to a more sane 2GB and the UI became responsive again.
Let me know if you'd like to get a fresh profile and I'll try again.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•