Closed Bug 1815205 Opened 1 year ago Closed 6 months ago

Huge Memory Leak

Categories

(Core :: Performance, defect)

Firefox 109
x86_64
Windows 10
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: gogo_sz, Unassigned, NeedInfo)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

It happens randomly after 106 or 107 builds and hasn't been fixed yet. Currently, using 109.0.1. The same happens when working with a lot of bookmarks. I have over 40k bookmarks and when I am working with them to do some maintenance the memory usage is huge again.

https://i.ibb.co/b5HWSP4/Image-412.png

I'll try to collect a new memory-report.json.gz when the problem occurs, since I forgot to check the "anonymize" button.

Is it contains any sensitive data like passwords and bookmarks or only the sites opened in the tabs?

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

Component: Untriaged → Bookmarks & History

This needs some analysis first. Comment 0 is unclear if this happens when not working with bookmarks as well as when with.

Component: Bookmarks & History → Untriaged

Hi Mark,

Yes, it does happen even when I am not working with bookmarks. Sometimes I have over 100+ tabs with no problems, and sometimes I only have a few tabs opened with a problem. Today, the problem didn't occur immediately, but after a few hours of work with the same amount of opened tabs. I refreshed them from time to time to check the mails and then suddenly I noticed a huge lag in the computer work. It was irresponsible. I opened the Task Manager to check what's going on, and I noticed the memory leak. I already knew it was Firefox, since this is happening a lot for the last few months.

Tried to disable the extensions, but didn't find the culprit. Didn't try to refresh the profile, since I am using it from a long time (with no problems until the last few builds of Firefox).

Thanks for the reply.

Please enter the address
about:memory?verbose
in the address bar and attach (using the "Attach New File" link above) the output here.

Flags: needinfo?(gogo_sz)
Attached file memory-report.json.gz

Yesterday I was able to measure and save the data while the leak occurred.
Hope this will help.

Btw, the leak doesn't happen every time when I am browsing, but it still happens from time to time.

But it occurs every time when I am managing my bookmarks. I guess I should reduce their number.

Flags: needinfo?(gogo_sz)

Hello,

It happened again, and this time I was unable to grab a memory dump.

However, I noticed that the leak occurred on this page:

https://yahoo.mydashboard.oath.com/details/?propertyId

Probably interacted with uBlock Origin regarding the blocked objects on the page.

I succeeded on disabling the add-on, but still wasn't able to export the memory dump. Only after closing the yahoo page, the memory usage started to drop, but still the about:memory didn't react. After I killed Firefox and restarted, it all went to normal. When I restored the previous opened tabs (with the yahoo page) the problem appeared again. Even the disk usage was huge, but it seems that I made the screenshot a bit earlier. I hope this helps a bit.

https://i.ibb.co/5rXBCqV/Image-413.png

Attached file memory-report.json.gz

Just happened again with Mozilla 111.0 while watching Twitch and browsing HLTV.org.

New memory report attached.

Attached file memory-report.json.gz

And happened today again on HTLT.

https://i.ibb.co/vkdSNbg/FF.png

New report attached.

Component: Untriaged → Performance
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → x86_64

This bug was moved into the Performance component.

:gogo_sz, 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?(gogo_sz)

With no answer from the reporter, we don’t have enough data to reproduce and/or fix this issue. Please reopen or file a new bug with more information if you see it again. Details of our performance triage process can be found at https://wiki.mozilla.org/Performance/Triage.

Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: