Closed Bug 1823435 Opened 1 year ago Closed 10 months ago

Massive ram leak after update to 111

Categories

(Core :: Performance, defect)

Firefox 111
defect

Tracking

()

RESOLVED WORKSFORME
Performance Impact ?
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- wontfix
firefox112 --- ?
firefox113 --- ?

People

(Reporter: mattn, Unassigned)

References

Details

(Keywords: memory-leak, regression, regressionwindow-wanted)

Attachments

(1 file)

Steps to reproduce:

From what I can tell, it happens everywhere. When I start using the browser, even with 1 or 2 tabs, if I just move around like going to google something and opening a link.

I have already tried to use troubleshoot mode, and resetting firefox to the factory, neither fix it. I have a memory report of the browser in normal mode, but I only attached the memory report from troubleshoot mode.

Actual results:

The page will not fully load and absolutely suck up all of my ram. It even goes into the swap until I close it with task manager, I have not let it run long enough to soak up all of the swap memory though.

Expected results:

It should not suck up all of my ram. It should also actually finish loading the page.

The Bugbug bot thinks this bug should belong to the 'Core::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Performance
Product: Firefox → Core

Could you create a performance profile using https://profiler.firefox.com/ and share the profile then by clicking "Upload local profile" button in the profiler's user interface?

Also, is this a new issue, did this happen with Firefox 110?

Flags: needinfo?(mattn)
QA Whiteboard: [qa-regression-triage]

I tried to reproduce it again. It is no longer happening, I just looked at my version, whatever was done in the new update for 111.0.1 has fixed it, but to answer your question, it did not happen in 110.

Flags: needinfo?(mattn)

Nevermind, I have managed to trigger it again, it is now only happening on specific sites. Here is a link to a profiler while it was happening: https://share.firefox.dev/3n2Fbbm

Unfortunately there is basically nothing happening in that profile.
Do you happen to know any particular site where it is happening? And if you don't want to share that information publicly, maybe via email to me?
smaug@mozilla.com

Flags: needinfo?(mattn)

Bug 1824332 also has a memory report attached

See Also: → 1824332

This bug was moved into the Performance component.

:mattn, could you make sure the following information is on this bug?

  • ✅ For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • ✅ For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(mattn)

:fdoty, looks like we have this and the linked bug that point to a possible performance issue in 111. Could you take a look?

Flags: needinfo?(fdoty)

Updating the Performance Impact flag to include this bug in perf triage for review

Performance Impact: --- → ?
Flags: needinfo?(fdoty)

Settings 111 to wontfix, as 112 RC builds next week.
We should set 112/113 status flags pending the investigation results (see comment 9)

Unfortunately I don't see anything particularly high about the memory usage in the report. Maybe the high memory usage is happening in a process that is failing to respond. There's about 290MB of swgl memory, but that doesn't sound anywhere near as bad enough to explain the issues described in comment 0.

I'm unsure of what has been updated from 111 to 114, but 112, and 113 were a problem still and 114 has entirely resolved the issue.

Thanks for the update. I'm glad the problem went away for you.

Status: NEW → RESOLVED
Closed: 10 months ago
Flags: needinfo?(mattn)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: