Firefox memory leak when watching YouTube Shorts
Categories
(Core :: Performance: Memory, defect)
Tracking
()
People
(Reporter: speciesx, Unassigned, NeedInfo)
Details
Attachments
(2 files)
When watching YouTube Shorts videos in Firefox, the browser's memory usage increases continuously with each video played. Over time, memory consumption exceeds 4 GB, leading to severe performance issues. The browser begins to lag significantly, and in some cases, the entire screen goes black. The only way to recover is to forcefully kill the Firefox process.
Steps to Reproduce:
Open Firefox.
Go to https://www.youtube.com/shorts.
Watch multiple Shorts videos consecutively.
Monitor system memory usage.
Expected Behavior:
Memory usage should remain stable or be released properly after each video.
Actual Behavior:
Memory usage continuously increases with each video and is not released, eventually degrading system performance.
System Information:
Firefox version: nightly x64
Operating System: Windows 10 x64
Comment 2•10 months ago
|
||
Try recording and sharing a performance profile:
- Go to http://profiler.firefox.com/
- Start recording and repeat the action
- Upload the profile and share the link here
Comment 4•10 months ago
|
||
The severity field is not set for this bug.
:jlink, could you have a look please?
For more information, please visit BugBot documentation.
Comment 5•2 months ago
|
||
I have the same issue, but when I try using Firefox Profiler, I get an error message after finishing capture:
Error: Unable to parse a Gecko profile of version 32, most likely profiler.firefox.com needs to be refreshed. The most recent version understood by this version of profiler.firefox.com is version 31. You can try refreshing this page in case profiler.firefox.com has updated in the meantime.
OS: Windows 10
Firefox: 146.0.1 (64-bit)
Screenshot of Task Manager when this issue happened: https://imgur.com/a/rsSNLDr
If you need any info, please ask freely.
Description
•