Very high memory usage of GPU Process after watching many HTML5 movies on Firefox, even after closing them all
Categories
(Core :: Graphics, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | wontfix |
firefox-esr68 | --- | wontfix |
firefox-esr78 | --- | wontfix |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox67.0.1 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
firefox70 | --- | wontfix |
firefox71 | --- | wontfix |
firefox72 | --- | wontfix |
firefox73 | --- | wontfix |
firefox74 | --- | wontfix |
firefox75 | --- | wontfix |
firefox76 | --- | wontfix |
firefox77 | --- | wontfix |
firefox78 | --- | wontfix |
firefox79 | --- | wontfix |
firefox80 | --- | wontfix |
firefox81 | --- | wontfix |
firefox82 | --- | wontfix |
firefox83 | --- | wontfix |
firefox84 | --- | wontfix |
People
(Reporter: Virtual, Unassigned)
References
Details
(5 keywords, Whiteboard: [MemShrink:P2] [media-memory])
User Story
Regression range Good: https://ftp.mozilla.org/pub/firefox/nightly/2017/07/2017-07-21-03-02-04-mozilla-central/ Bad: https://ftp.mozilla.org/pub/firefox/nightly/2017/07/2017-07-22-07-26-31-mozilla-central/ Regression range pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0faada5c2f308f101ab7c54a87b3dce80b97d0e3&tochange=7ce557b85b611536b69539a7c18d4834ffc92eea Could be caused by one of these bugs: Bug 1366694 - Enable Windows level 3 content process sandbox by default on Nightly. Bug 1377280 - Enable keyboard APZ on nightly Bug 1351148 - Add an event queue to nsThread for input events and annotate input IPC messages to use it ============================================================================================== STR 1. Create clean new fresh Firefox profile without any addons (extensions, plugins, themes, etc.) 2. Install uBlock Orgin 3. In uBlock Orgin Dashboard, in 3rd-party filters tab, enable all filters in category: - uBlock - Ads filters (exept EayList without element hiding rules) - Privacy - Malware domains - Social - Multipuropse - in Regions, languages category enable only: -- EU: Prebake - Filter Obtrusive Cookie Notices -- POL: polskie filtry do Adblocka i uBlocka -- POL: polskie filtry do uBlocka uzupelnienie 4. Apply changes, Purge all caches and Update now 5. Restart Firefox 6. Open about:memory and create memory report 7. Open YouTube Trending ( https://www.youtube.com/feed/trending ) 8. Open about 20-30 tabs in background (could be more depending on your avaiable memory, just do notexeed 90% of your memory, to prevent Firefox duping memory cache to disc cache, which slow down everything later) 9. Open about:memory and close all other tabs 10. Create memory report 11. Wait about 1min 12. Create memory report again 23% of all 4GB RAM used with Firefox on start - first memory report ~90% of all 4GB RAM used with Firefox on browsing session ~80% of all 4GB RAM used with Firefox on end browsing session - second & third memory report 44% of all 4GB RAM used with Firefox on end browsing session with waiting 1 min - fourth memory report If I will browse for more then 30min, this 44% of all memory used with Firefox on end browsing session will be more and more, this doesn't happen with older Firefox versions, where all useless memory is dumped into oblivion, not bloating browser and whole memory.
Attachments
(2 files, 15 obsolete files)
STR: 1. Watch more than 10-20 HTML5 movies on some streaming website pages, it could be one by one or open 2-4 more in background to start buffering them while watching one 2. After "cinema time" ends, close all tabs while having only blank one opened and see that memory usage is still extremely high and not going low while time passes
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Even doing: - GC - GC + CC - GC + CC + Minimaze memory usage don't change anything (or that much like it should).
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 7•7 years ago
|
||
With clean new fresh profile without any addons (extensions, plugins, themes, etc.) it's not reproducible. After playing with extensions, looks like Firefox with uBlock Orgin extension have various memory leaks. Better STR: 1. Open some 10 movies on YouTube 2. Wait patiently for every tab to stop loading 3. Close all tabs 4. Repeat STR #1-3 steps about 5-10 times, depend on available memory 5. Close all tabs, while leaving only blank one 6. Wait some time and see that memory aren't purged FYI - I'm using Mozilla Firefox Nightly 56.0a1 (2017-07-30) with Block Origin 1.13.9b3 (webext) [I had same issue on stable Block Origin 1.13.8] @ Raymond Hill [:gorhill] - Any ideas what could be the cause here?
Could you provide me URLs to the 10 videos in step 1? I just want to go through exactly what you went through to reproduce the issue -- leaving out any guess work as much as possible.
Looking at your "anonymized-memory-report (GC+CC+Minimaze memory usage).json.gz", I am puzzled as to why you believe uBlock Origin specifically is causing an issue. You also have other add-ons installed, which you do not mention in your comments. For example, DownloadThemAll. Also, I can't make sense of "still extremely high and not going low while time passes". Here is what I see in your memory snapshot data: Main process: 271.03 MB, or 208 MB when I subtract heap-unclassified and heap-overhead. Content process: 133.93 MB, or 39.43 MB when I subtract heap-unclassified and heap-overhead. There is another process in there which suggest that you were maybe using out of process extensions? (a key information in any such bug report): Out of process: 75.67 MB, or 55.75 MB when I subtract heap-unclassified and heap-overhead. Summary, not only do I not see "extremely high and not going low" memory usage, there are other add-ons you are using and which you left out. So far, I do not see anything like "extremely high" memory usage (hundreds of MB would qualify), also considering you were using OOP-extensions feature. I will go through my own measurement once you provide me with the exact 10 URLs used in step 1, but so far I fail to see anything like "extremely high" memory usage from your about:memory report.
Comment 10•7 years ago
|
||
TL;DR: I try to reproduce the steps and see if there was anything wrong with memory usage. Result: there is nothing wrong. My repro steps, with current Nightly: 1. Launch Nightly with a newly created profile (keep all default settings) 2. Install uBO 1.13.9b3 from https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/versions/beta 3. Open uBO dashboard, go to "3rd-party filters" pane, then for an update of filter lists 4. Once the filter lists have been all updated, quit Nightly 5. Restart Nightly with the profile created in 1 6. Navigate to "about:memory" from the only existing tab 7. Click "GC", "CC", and "Minimize memory usage" with enough time between each click for the operation to complete. 8. Repeat 7. two more times. 9. Click "Measure and save...", save to "memory-report-before.json.gz" 10. Quit Nightly. 11. Launch Nightly with the profile created in 1 12. Navigate to "https://youtube.com/" 13. Right-click then "Open Link in New Tab" for the 10 video displayed at the top of the page 14. Bring forth all of the newly create 10 tabs such that video playback start for each of these tabs 15. Close all the 10 newly opened video tabs 16. Open a new tab 17. Close the "https://youtube.com/" tab created in 12 18. Repeat 12 with the newly created tab in 16 19. Repeat 13 to 18 4 more times 20. Now only a "New Tab" tab should be left opened 21. Repeat steps 6 to 8 22. Click "Measure and save...", save to "memory-report-after.json.gz" 22. Click "Load and diff..." using both "before" and "after" memory report created in 9 and 22. Result on my side: Main Process (pid NNN) Explicit Allocations 36.30 MB (100.0%) -- explicit βββ17.89 MB (49.28%) ++ heap-overhead ββββ8.54 MB (23.53%) ββ heap-unclassified ββββ6.18 MB (17.03%) ++ js-non-window βββ-5.34 MB (-14.72%) ++ startup-cache ββββ4.73 MB (13.03%) ++ images βββ-0.24 MB (-0.66%) ++ workers/workers(chrome) ββββ1.55 MB (04.26%) ++ script-preloader ββββ0.95 MB (02.61%) ++ add-ons ββββ0.75 MB (02.07%) ++ gfx ββββ0.62 MB (01.72%) ++ (9 tiny) ββββ0.28 MB (00.78%) ++ window-objects ββββ0.38 MB (01.05%) ++ network Other Measurements 19.02 MB (100.0%) ++ decommitted 38 (100.0%) ++ event-counts 32.27 MB (100.0%) ++ heap-committed 4.73 MB (100.0%) ++ images 7.02 MB (100.0%) ++ js-main-runtime 48 (100.0%) ++ js-main-runtime-compartments 5.02 MB (100.0%) ++ js-main-runtime-gc-heap-committed 28 (100.0%) ++ message-manager 113 (100.0%) ++ observer-service 153 (100.0%) ++ observer-service-suspect 14 (100.0%) ++ preference-service 0.39 MB (100.0%) ++ window-objects 14.38 MB ββ heap-allocated 58.00 MB ββ heap-mapped 0.18 MB ββ imagelib-surface-cache-estimated-locked 0.18 MB ββ imagelib-surface-cache-estimated-total 1,260,632 ββ page-faults-soft 48.49 MB ββ resident 33.91 MB ββ resident-peak -2.19 MB ββ resident-unique 0.00 MB ββ shmem-allocated 0.02 MB ββ shmem-mapped 160.76 MB ββ vsize End of Main Process (pid NNN) Web Content (pid NNN) Explicit Allocations 34.56 MB (100.0%) -- explicit ββββ9.94 MB (28.75%) ++ js-non-window ββββ8.44 MB (24.43%) ββ heap-unclassified ββββ5.49 MB (15.87%) ++ window-objects/top(about:newtab, id=NNN) ββββ4.05 MB (11.73%) ++ heap-overhead ββββ1.63 MB (04.70%) ++ script-preloader/heap ββββ0.96 MB (02.78%) ++ images ββββ0.88 MB (02.55%) ++ (10 tiny) ββββ0.85 MB (02.46%) ββ xpti-working-set [+] ββββ0.65 MB (01.88%) ββ profiler/profiler-state ββββ0.48 MB (01.38%) ++ layout ββββ0.46 MB (01.32%) ++ dom ββββ0.38 MB (01.10%) ββ preferences [+] ββββ0.37 MB (01.06%) ++ gfx Other Measurements 1.60 MB (100.0%) ++ decommitted 114 (100.0%) ++ event-counts 1 (100.0%) ++ file-blob-urls 27.10 MB (100.0%) ++ heap-committed 0.96 MB (100.0%) ++ images 14.41 MB (100.0%) ++ js-main-runtime 55 (100.0%) ++ js-main-runtime-compartments 6.40 MB (100.0%) ++ js-main-runtime-gc-heap-committed 17 (100.0%) ++ message-manager 291 (100.0%) ++ observer-service 171 (100.0%) ++ preference-service 1.01 MB (100.0%) ++ window-objects 0.00 MB ββ gfx-surface-image [+] 23.04 MB ββ heap-allocated [+] 1.00 MB ββ heap-chunksize [+] 40.00 MB ββ heap-mapped [+] 1 ββ host-object-urls [+] 0.00 MB ββ imagelib-surface-cache-estimated-locked [+] 0.00 MB ββ imagelib-surface-cache-estimated-total [+] 1.81 MB ββ js-main-runtime-temporary-peak [+] 33,718 ββ page-faults-soft [+] 114.48 MB ββ resident [+] 285.66 MB ββ resident-peak [+] 48.44 MB ββ resident-unique [+] 1,780.83 MB ββ vsize [+] End of Web Content (pid NNN) Observations: The diff shows that one WebContent process is lingering into memory, which was not present in the "before" measurement. My understanding is that this is expected, Nightly keeps WebContent processes around for a while for reuse, in the spirit of efficiency. Firefox devs are better place than me to answer this. The Main Process shows an extra ~36 MB for "Explicit Allocations". Out of the ~36 MB, ~26 MB are "heap-overhead" and "heap-unclassified", leaving ~10 MB as the diff between "after" and "before". At this point, I can say the statement "memory usage is still extremely high and not going low while time passes" is not reproducible on my side. The extra 10 MB in "Main Process" can't be solely attributed to uBlock Origin either, see: 36.30 MB (100.0%) -- explicit βββ17.89 MB (49.28%) ++ heap-overhead ββββ8.54 MB (23.53%) ββ heap-unclassified ββββ6.18 MB (17.03%) -- js-non-window β βββ5.74 MB (15.80%) -- zones/zone(0xNNN) β β βββ2.39 MB (06.58%) ++ (229 tiny) β β βββ0.43 MB (01.19%) ++ strings β β βββ0.74 MB (02.04%) ++ compartment(moz-nullprincipal:{NNNNNNNN-NNNN-NNNN-NNNN-NNNNNNNNNNNN}, XPConnect Compilation Compartment) β β βββ0.64 MB (01.77%) ++ compartment([System Principal], resource://gre/modules/MessageChannel.jsm) β β βββ0.58 MB (01.59%) ++ shapes β β βββ0.51 MB (01.42%) ++ compartment([System Principal], resource://gre/modules/TelemetrySend.jsm) β β βββ0.44 MB (01.23%) ++ compartment([System Principal], jar:file:///.../omni.ja!/components/nsBlocklistService.js) β βββ0.07 MB (00.19%) ++ runtime β βββ0.38 MB (01.03%) ββ gc-heap/chunk-admin βββ-5.34 MB (-14.72%) ++ startup-cache ββββ4.73 MB (13.03%) -- images β βββ4.68 MB (12.90%) -- chrome β β βββ4.63 MB (12.74%) -- vector/used β β β βββ1.14 MB (03.13%) ββ image(1078x54, chrome://pocket-shared/skin/library-pocket-animation.svg)/source β β β βββ0.81 MB (02.22%) ββ image(1078x54, chrome://browser/skin/library-bookmark-animation.svg)/source β β β βββ0.80 MB (02.21%) ++ image(468x20, chrome://browser/skin/reload-to-stop.svg) β β β βββ0.80 MB (02.21%) ++ image(468x20, chrome://browser/skin/stop-to-reload.svg) β β β βββ0.63 MB (01.73%) ββ image(660x33, chrome://browser/skin/bookmark-animation.svg)/source β β β βββ0.45 MB (01.24%) ++ (14 tiny) β β βββ0.06 MB (00.16%) ++ raster/used β βββ0.05 MB (00.13%) ++ content βββ-0.24 MB (-0.66%) ++ workers/workers(chrome) ββββ1.55 MB (04.26%) ++ script-preloader ββββ0.95 MB (02.61%) ++ add-ons ββββ0.75 MB (02.07%) ++ gfx ββββ0.62 MB (01.72%) ++ (9 tiny) ββββ0.28 MB (00.78%) ++ window-objects ββββ0.38 MB (01.05%) ++ network I will attach the memory reports after evaluating whether they contains privacy sensitive stuff (I expect not given this is a new profile).
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Forgot one step after step 20 above: leave the browser idle for 5 minutes.
Comment 14•7 years ago
|
||
Closing as per the following comment. (In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #7) > With clean new fresh profile without any addons (extensions, plugins, > themes, etc.) it's not reproducible. > After playing with extensions, looks like Firefox with uBlock Orgin > extension have various memory leaks.
Reporter | ||
Comment 15•7 years ago
|
||
@ Raymond Hill [:gorhill] - I will post in few days detailed STR, but it's reproducible with latest Nightly + latest uBlock Orgin on this page https://www.youtube.com/feed/trending while doing STR from comment #7 and like you already caught my memory reports were done on my profile with all extensions enabled, I will redo test with new profile with only uBlock Orgin, to get memory report cleaner and easier for reading. Thanks for looking into it. @ Kohei Yoshino [:kohei] - It's not invalid, as Firefox should forbid memory leaks, even caused by extensions, especially WebExtensions, but for now I don't know if it's extension issue or Firefox. I will diagnose it deeper in few days.
Comment 16•7 years ago
|
||
I thought Bugzilla usually doesn't handle a bug in a specific extension, but there's at least a better component for such cases...
Reporter | ||
Comment 17•7 years ago
|
||
I want to add that it's not reproducible in Firefox stable, so in the end it could be Firefox issue, not extension one.
Comment 18•7 years ago
|
||
This problem began with the assembly of August 22, on the assembly of August 21, there are no problems with memory collection.
Comment 19•7 years ago
|
||
> I will post in few days detailed STR, Aside not being able to test on Windows (can only test on Linux), what in my repro steps in comment 10 is preventing me from reproducing the issue? How will your repro steps differ from what I went through in comment 10? With that information I would go ahead and try to reproduce again.
Comment 20•7 years ago
|
||
Andy, something the add-ons team is concerned about?
Reporter | ||
Comment 21•7 years ago
|
||
(In reply to Wolf from comment #18) > This problem began with the assembly of August 22, on the assembly of August > 21, there are no problems with memory collection. So that means it started one year ago? or you simply misspelled month where it started? (In reply to R. Hill from comment #19) > > I will post in few days detailed STR, > > Aside not being able to test on Windows (can only test on Linux), what in my > repro steps in comment 10 is preventing me from reproducing the issue? How > will your repro steps differ from what I went through in comment 10? With > that information I would go ahead and try to reproduce again. Not that much, except I'm on Windows system. I will try to post detailed STR, but I'm kinda busy lately, so it won't be very fast. If someone also could reproduce issue, please post it here.
Reporter | ||
Updated•7 years ago
|
Comment 22•7 years ago
|
||
Not until we've got more details and I don't think we've got enough to work with. Krupa, maybe worth testing?
Comment 23•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #21) > (In reply to Wolf from comment #18) > > This problem began with the assembly of August 22, on the assembly of August > > 21, there are no problems with memory collection. > > So that means it started one year ago? > or you simply misspelled month where it started? Oops, I'm sorry, I made a mistake for a month ... the problem with liberation memory began with the assembly on July 22, 2017.
Reporter | ||
Comment 24•7 years ago
|
||
(In reply to Wolf from comment #23) > (In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see > your comment/reply/question/etc.) from comment #21) > > (In reply to Wolf from comment #18) > > > This problem began with the assembly of August 22, on the assembly of August > > > 21, there are no problems with memory collection. > > > > So that means it started one year ago? > > or you simply misspelled month where it started? > > Oops, I'm sorry, I made a mistake for a month ... the problem with > liberation memory began with the assembly on July 22, 2017. Thank you very much! Could you maybe pinpoint which patch caused this issue with mozregression ( https://github.com/mozilla/mozregression/releases )? It's very easy to use, see "Quick start" documentation ( http://mozilla.github.io/mozregression/quickstart.html ), only GUI part will do. It will be extremely helpful.
Comment 25•7 years ago
|
||
Tested this issue on Windows 7 , following steps from comment #10 and I can't see any unusual memory usage, but I will attach my memory gathered data, maybe someone else can understand better the memory logs
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #24) > > Thank you very much! > Could you maybe pinpoint which patch caused this issue with mozregression ( > https://github.com/mozilla/mozregression/releases )? It's very easy to use, > see "Quick start" documentation ( > http://mozilla.github.io/mozregression/quickstart.html ), only GUI part will > do. It will be extremely helpful. I can not, there is no time for this. But I repeat that on the build of 07/21/2017, there were no problems with cleaning the memory after closing the YouTube tab or some other page with html5 players, but the problem with unloading the memory began with the build on 07/22/2017 and this problem Is still relevant. (Translation: google translate)
Reporter | ||
Comment 30•7 years ago
|
||
(In reply to Wolf from comment #29) > (In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see > your comment/reply/question/etc.) from comment #24) > > > > > Thank you very much! > > Could you maybe pinpoint which patch caused this issue with mozregression ( > > https://github.com/mozilla/mozregression/releases )? It's very easy to use, > > see "Quick start" documentation ( > > http://mozilla.github.io/mozregression/quickstart.html ), only GUI part will > > do. It will be extremely helpful. > I can not, there is no time for this. But I repeat that on the build of > 07/21/2017, there were no problems with cleaning the memory after closing > the YouTube tab or some other page with html5 players, but the problem with > unloading the memory began with the build on 07/22/2017 and this problem Is > still relevant. > > (Translation: google translate) OK. Thank you very much! I will try to do the rest. It's also extremely useful information. So for future regression range search Good: https://ftp.mozilla.org/pub/firefox/nightly/2017/07/2017-07-21-03-02-04-mozilla-central/ Bad: https://ftp.mozilla.org/pub/firefox/nightly/2017/07/2017-07-22-07-26-31-mozilla-central/ Regression range pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0faada5c2f308f101ab7c54a87b3dce80b97d0e3&tochange=7ce557b85b611536b69539a7c18d4834ffc92eea Maybe caused by one of these bugs: Bug 1366694 - Enable Windows level 3 content process sandbox by default on Nightly. Bug 1377280 - Enable keyboard APZ on nightly Bug 1351148 - Add an event queue to nsThread for input events and annotate input IPC messages to use it So I'm changing produce to "Firefox", as it's Firefox issue per regression, not extension one.
Reporter | ||
Updated•7 years ago
|
Comment 31•7 years ago
|
||
Do we know if this is uBlock causing this and if so, what rev? question: 1) Can we repo without uBlock installed? 2) Is the rev of uBlock the newer webextension based rev?
Comment 32•7 years ago
|
||
Switching this to Firefox :: General until further updates.
Reporter | ||
Comment 33•7 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #31) > Do we know if this is uBlock causing this and if so, what rev? question: > > 1) Can we repo without uBlock installed? > 2) Is the rev of uBlock the newer webextension based rev? It's not reproducible without uBlock Orgin extension, but it's also not reproducible with uBlock Orgin extension on older version of the Firefox, see regression range in Comment #30. I tested this on uBlock Orgin 1.13.8 (stable, legacy) and uBlock Orgin 1.13.9b3 (beta, Webext-hybrid). So looks like something in Firefox changed, that Firefox with some extensions doesn't anymore release used memory.
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Comment 34•7 years ago
|
||
Anthony, is this something your team can help to test? It may be an a/v problem and not a specific problem with uBlock. Thanks.
Given the regression range, I'd try setting security.sandbox.content.level=2 to see if that makes a difference.
Reporter | ||
Comment 36•7 years ago
|
||
Looking on it one more time, this bug could be similar to bug #1371255 or even duplicate. Based on regression range in Comment #30, and looking which patches touched WebExtensions code, it could be that this regression is caused by patch from bug #1381687. @ Kris Maglione [:kmag] - Any opinions about this or it's missed call?
Reporter | ||
Updated•7 years ago
|
Comment 37•7 years ago
|
||
Do you have about:memory dumps from an affected revision? I don't see anything wrong in any of the attached reports.
Comment 38•7 years ago
|
||
I also don't see any issues when I run the steps from comment 7 in a recent nightly. The only difference after those steps is a bit of additional bin-unused in a web content process, and some extra heap-textures in the main process.
Reporter | ||
Updated•7 years ago
|
Comment 39•7 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #38) > I also don't see any issues when I run the steps from comment 7 in a recent > nightly. The only difference after those steps is a bit of additional > bin-unused in a web content process, and some extra heap-textures in the > main process. Okay sounds like this is fixed. Please reopen if you still see the issue.
Reporter | ||
Comment 40•7 years ago
|
||
Reopening, as I'm still able to reproduce the issue.
Reporter | ||
Updated•7 years ago
|
Comment 41•7 years ago
|
||
Can you provide a relevant memory report, then? I can't do anything more without one.
Reporter | ||
Comment 42•7 years ago
|
||
They're located in comment 2, comment 3, comment 4 & comment 5, I will redo STR 'soon' on clean profile with only uBlock Orgin.
Comment 43•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #42) > They're located in comment 2, comment 3, comment 4 & comment 5, > I will redo STR 'soon' on clean profile with only uBlock Orgin. Hm. Well, the profile in comment 5 has about 100MB of heap overhead, which is a bit worrying. But it's also got at least one SDK add-on, the CPOW prefetcher, and a bunch of devtools stuff loaded into it.
Reporter | ||
Comment 44•7 years ago
|
||
1. Create clean new fresh Firefox profile without any addons (extensions, plugins, themes, etc.) 2. Install uBlock Orgin 3. In uBlock Orgin Dashboard, in 3rd-party filters tab, enable all filters in category: - uBlock - Ads filters (exept EayList without element hiding rules) - Privacy - Malware domains - Social - Multipuropse - in Regions, languages category enable only: -- EU: Prebake - Filter Obtrusive Cookie Notices -- POL: polskie filtry do Adblocka i uBlocka -- POL: polskie filtry do uBlocka uzupelnienie 4. Apply changes, Purge all caches and Update now 5. Restart Firefox 6. Open about:memory and create memory report 7. Open YouTube Trending ( https://www.youtube.com/feed/trending ) 8. Open about 20-30 tabs in background (could be more depending on your avaiable memory, just do notexeed 90% of your memory, to prevent Firefox duping memory cache to disc cache, which slow down everything later) 9. Open about:memory and close all other tabs 10. Create memory report 11. Wait about 1min 12. Create memory report again 23% of all 4GB RAM used with Firefox on start - first memory report ~90% of all 4GB RAM used with Firefox on browsing session ~80% of all 4GB RAM used with Firefox on end browsing session - second & third memory report 44% of all 4GB RAM used with Firefox on end browsing session with waiting 1 min - fourth memory report If I will browse for more then 30min, this 44% of all memory used with Firefox on end browsing session will be more and more, this doesn't happen with older Firefox versions, where all useless memory is dumped into oblivion, not bloating browser and whole memory.
Reporter | ||
Comment 48•7 years ago
|
||
Comment 49•7 years ago
|
||
> 23% of all 4GB RAM used with Firefox on start - first memory report
> ~90% of all 4GB RAM used with Firefox on browsing session
> ~80% of all 4GB RAM used with Firefox on end browsing session - second &
> third memory report
> 44% of all 4GB RAM used with Firefox on end browsing session with waiting 1
> min - fourth memory report
How are you measuring this? I don't see anything like 2GB of RAM being used in the last memory report.
In any case, I still don't see anything especially concerning here. The main and web content processes do wind up with a lot of heap overhead in the end, but there's not much I can do about that.
I would be interested to see how the reports differ when no extensions are enabled, though.
Comment 50•7 years ago
|
||
Eric, can you take a look at the memory reports in comments 44-48 and let me know if anything about them worries you? I don't particularly like the heap-overhead numbers, but I don't know if they're anything to worry about. And I'm not used to looking at some of the non-explicit numbers like committed, decommitted, address-space/* in detail.
Reporter | ||
Comment 51•7 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #49) > > 23% of all 4GB RAM used with Firefox on start - first memory report > > ~90% of all 4GB RAM used with Firefox on browsing session > > ~80% of all 4GB RAM used with Firefox on end browsing session - second & > > third memory report > > 44% of all 4GB RAM used with Firefox on end browsing session with waiting 1 > > min - fourth memory report > > How are you measuring this? I don't see anything like 2GB of RAM being used > in the last memory report. It's just all physical memory used that time by system and software, not just only Firefox, as I'm too lazy to count all these Firefox processes as one. ;) (In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #49) > I would be interested to see how the reports differ when no extensions are > enabled, though. I will try to do that on next week, same as attaching this with older Firefox.
Updated•7 years ago
|
Comment 52•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #51) > I will try to do that on next week, same as attaching this with older > Firefox. Did you by any chance get around to it yet?
Comment 53•7 years ago
|
||
Can you test with the latest web extension version of uBlock?
Reporter | ||
Comment 54•7 years ago
|
||
(In reply to Panos Astithas [:past] (56 Regression Engineering Owner) (please ni?) from comment #52) > (In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see > your comment/reply/question/etc.) from comment #51) > > I will try to do that on next week, same as attaching this with older > > Firefox. > > Did you by any chance get around to it yet? Unfortunately, no, I don't have that much time right now to do that, as reliable steps to reproduce are too much time consuming. (In reply to Eric Rahm [:erahm] (please no mozreview requests) from comment #53) > Can you test with the latest web extension version of uBlock? It's still reproducible with uBlock Origin 1.14.11rc7 (WebExtension) on Mozilla Firefox Nightly 58.0a1 (2017-09-28) (64-bit), same as it's with uBlock Origin 1.13.8 (legacy extension).
Comment 55•7 years ago
|
||
I can reproduce this With Firefox 57beta and uBlock Origin 1.14.10 , memory high usage happens with YouTube and twitch even after close all tabs while having only one opened.
Updated•7 years ago
|
Updated•7 years ago
|
Comment 57•7 years ago
|
||
What is the reason the steps in comment 10 still have not been undertaken by whoever is able to reproduce the issue? If whoever suffers the issue wants things to move forward, there has to be some efforts to narrow it down. As said, I have tried to reproduce, to no avail. This narrowing is unavoidable, that would at least lift a weight on my shoulders by at least having some better idea about whether uBO is causing this issue -- I currently have no reason to believe so, but if it is the case, nothing will move forward without actual efforts to narrow it. I have provided pretty detailed steps to help toward that goal, I don't know what else I can do on my side.
Reporter | ||
Updated•7 years ago
|
Comment 58•7 years ago
|
||
Someone posted a case of Youtube causing high-memory usage on reddit.[1] I think the case deserves to be looked into, the user posted a memory report.[2] Notably, I see tens of "top(none)/detached" Youtube pages in the main proces (for some reasons multiprocess appears disabled), I would like to know whether these are normal or not. The report shows that no extension were installed (just the built-in ones). [1] https://www.reddit.com/r/firefox/comments/7cn7w3/memory_leak_does_ff_really_need_7_gb_of_ram_when/dprd3dp/ [2] https://www.dropbox.com/s/6nw5xo08vspnvth/memory-report.json.gz?dl=0
Updated•7 years ago
|
Comment 59•7 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #0) > STR: > 1. Watch more than 10-20 HTML5 movies on some streaming website pages, it > could be one by one or open 2-4 more in background to start buffering them > while watching one > 2. After "cinema time" ends, close all tabs while having only blank one > opened > and see that memory usage is still extremely high and not going low while > time passes I've also seen this after watching several Youtube vids. I don't use uBlock or AdBlocker. Looking at about:memory I find that all or most all of the vids watched were now shown as 'Ghost Windows' holding memory.
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 60•7 years ago
|
||
[Tracking Requested - why for this release]: Regression
Comment 61•7 years ago
|
||
Tracking requests on an old bug with no new/actionable information aren't all that useful.
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 62•6 years ago
|
||
I'm not sure if this is the right bug to post in because memory doesn't really rise that much for me (only 300MB system and 200MB GPU) but playing 7+ 22min episodes on Netflix makes the page unresponsive and 12+ makes the whole browser unresponsive. Using AMD FX 8320, HD5750, 16GB RAM. uBlock Dev. Two perf profiles after skipping videos, seeking and skipping intros for ~20mins (no-where near as laggy as watching constantly for 2hrs+): https://perfht.ml/2DlPhrz after restarting browser: https://perfht.ml/2HqYMIi First profile is getting 8second BHR-detected hang / event processing delays. Performance degradation people are seeing might be because of this rather than a memory leak.
Comment 63•6 years ago
|
||
(In reply to Jules A from comment #62) > Two perf profiles after skipping videos, seeking and skipping intros for > ~20mins (no-where near as laggy as watching constantly for 2hrs+): > https://perfht.ml/2DlPhrz It could very well be related. This profile shows two 4-5s hard janks from Netflix's Cadmium player code. ~1.2s of each of those is spend in the GC, and a lot of the rest is spent allocating and manipulating JS strings. If there's a memory leak, that could be part of the reason we spend so much time in GC. But the Netflix code is a bit suspect, anyway... The reduce function that winds up triggering most of the GCs is: d.reduce(function(d,n,T){return T<m?d+String.fromCharCode(n):d;},"") Which looks like it's meant to turn a slice of a Uint8Array into a string. It doesn't help that the first place it's used is: function thing(d, m) { m || (m = d.length); return d.reduce(function(d, n, T) { return T < m ? d + String.fromCharCode(n) : d; }, ""); } for (var m = {}, n = 0; 256 > n; ++n) { var r = thing([n]); m[r] = n; } Which is just a really slow way of writing: for (let i = 0; i < 256; i++) m[String.fromCharCode(i)] = i; Somebody other than me should probably look into this to try to figure out what exactly is going on here, and how it can be fixed.
Reporter | ||
Updated•6 years ago
|
Comment 64•6 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #63) > It could very well be related. This profile shows two 4-5s hard janks from > Netflix's Cadmium player code. ~1.2s of each of those is spend in the GC, > and a lot of the rest is spent allocating and manipulating JS strings. If > there's a memory leak, that could be part of the reason we spend so much > time in GC. I went and watched Netflix for a couple of hours, when I went to check about:memory and went back to the tab it was just left as a spinner. This is what it looks like: https://perfht.ml/2HrUuQW . After 10mins or so it finally re-rendered but the page is unresponsive. Memory doesn't seem to be the problem but I could be wrong. I attached a memory report in-case.
Comment 65•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 66•5 years ago
|
||
I'm not sure if it's my upgrade from HD5750 to RX570 but I'm not seeing massive slowdowns anymore and it's rare that I see any at all now. I think it may be due to the last update of Netflix's Cadium player though, not sure.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 68•5 years ago
|
||
Bulk change for all regression bugs with status-firefox67 as 'fix-optional' to be marked 'affected' for status-firefox68.
Comment 69•5 years ago
|
||
Closing as incomplete - it's rather unclear if this is still happening, if it was a fubar by Netflix since fixed, or if other changes have mooted the bug. If anyone see this sort of thing, please file a new bug and See Also this bug. Thanks!
Reporter | ||
Comment 70•5 years ago
|
||
I'm reopening this bug, as it's still reproducible for me even in latest Mozilla Firefox Nightly 68.0a1 (2019-05-08).
Comment 71•5 years ago
|
||
I have this bug too but cannot produce any reliable profile with Gecko Profiler.
As a workaround, I had to toggle "media.hardware-video-decoding.enabled" pref to false.
My specs are : i5-8400, nvidia GTX 1060 on Windows 10 1903.
Reporter | ||
Updated•5 years ago
|
Comment 72•5 years ago
|
||
I can confirm this bug.
Play a lot of HTML5 videos, then close all tabs, look in the task manager, use of VRAM/RAM will be extremely high, although all tabs are closed.
This will not be cleared until the browser is closed.
Specs:
Firefox v.: 66.0.5 - x64, Nightly 68.0a1 - x64
ββ Flash player is not installed.
ββ No addons installed.
ββ All settings is DEFAULT. (clean browser)
ββ Hardware Acceleration: enabled
OS: Windows 10, v. 1903, build 18362.113 - x64, v1809
Nvidia Driver v.: 430.64
GPU: GTX 680 - 2 GB
If you disable hardware acceleration, everything is good.
I assume that the problem is in firefox and possibly in the driver nvidia.
Microsoft Edge 44.18362.1.0 - doesn't have that problem.
Microsoft Edge (Chromium) 76.0.159.0 - doesn't have that problem.
:Πͺ
Comment 73•5 years ago
|
||
Found a workaround without disabling hardware acceleration, but you have to disable Electrolysis - (Multiprocess)
- Open new tab with url: about:config and press enter
- Find browser.tabs.remote.autostart and toggle to FALSE
During the time of more than one hour of active viewing of YouTube, Vimeo and Twitch, as well as surfing, the load of VRAM has not increased by more than 0.6 GB, and the RAM is ~ 1.3 GB.
After closing all tabs (except one blank), wihtout closing Firefox, VRAM: 0.4 GB, RAM: 0.6 GB, then about:memory and Minimize memory usage, RAM: ~0.5 GB.
Reporter | ||
Updated•5 years ago
|
Comment 74•5 years ago
|
||
(In reply to nyz from comment #73)
Found a workaround without disabling hardware acceleration, but you have to disable Electrolysis - (Multiprocess)
Since disabling multiprocess is too generalistic, can you test with my solution posted above ? (it doesn't need to disable multiprocess)
I think the problem is in the way that Firefox communicate with the graphics card driver when decoding videos since the problem don't happen in other browsers (Edge, Chrome) but only on Gecko-based browsers (Firefox, Palemoon, Basilisk, etc... )
Comment 75•5 years ago
|
||
Coming back with good news,
It seems that .145 Cumulative update for Windows 10 1903 (available in Insider Slow Ring and Release Preview for now) has fixed my memory leak when viewing video with "media.hardware-video-decoding.enabled" in its default state.
Need more tests to confirm this...
Comment 76•5 years ago
|
||
1for-matik: it seems that .145 Cumulative update for Windows 10 1903
I can confirm .145 fixes this issue.
Update KB4497935 For Windows 10 (1903) (build 18362.145)
Download KB4497935 - x64 (64 bit OS)
Download KB4497935 - x86 (32 bit OS)
Download KB4497935 - ARM64
How to install .cab?
Reporter | ||
Comment 77•5 years ago
|
||
It's fixed probably only for Windows 10, not for Windows 7 and Windows 8.1.
Updated•5 years ago
|
Comment 78•4 years ago
|
||
Windows 7 x64, FF 70.0.1 x64, ATI Radeon 4770.
Just had a nervous breakdown because of another lagging sessionβ¦
Reporter | ||
Updated•4 years ago
|
Comment 79•4 years ago
|
||
(In reply to Virtual_ManPL [:Virtual] π΅π± - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #44)
- Create clean new fresh Firefox profile without any addons (extensions,
plugins, themes, etc.)- Install uBlock Orgin
- In uBlock Orgin Dashboard, in 3rd-party filters tab, enable all filters
in category:
- uBlock
- Ads filters (exept EayList without element hiding rules)
- Privacy
- Malware domains
- Social
- Multipuropse
- in Regions, languages category enable only:
-- EU: Prebake - Filter Obtrusive Cookie Notices
-- POL: polskie filtry do Adblocka i uBlocka
-- POL: polskie filtry do uBlocka uzupelnienie
- Apply changes, Purge all caches and Update now
- Restart Firefox
- Open about:memory and create memory report
- Open YouTube Trending ( https://www.youtube.com/feed/trending )
- Open about 20-30 tabs in background (could be more depending on your
avaiable memory, just do notexeed 90% of your memory, to prevent Firefox
duping memory cache to disc cache, which slow down everything later)- Open about:memory and close all other tabs
- Create memory report
- Wait about 1min
- Create memory report again
23% of all 4GB RAM used with Firefox on start - first memory report
~90% of all 4GB RAM used with Firefox on browsing session
~80% of all 4GB RAM used with Firefox on end browsing session - second &
third memory report
44% of all 4GB RAM used with Firefox on end browsing session with waiting 1
min - fourth memory reportIf I will browse for more then 30min, this 44% of all memory used with
Firefox on end browsing session will be more and more, this doesn't happen
with older Firefox versions, where all useless memory is dumped into
oblivion, not bloating browser and whole memory.
I do not know how to confirm these results. How exactly do you verify them?
Furthermore, this bug appears to have a regression range provided already. The "regressionwindow-wanted" tag should be removed. Is the regression range provided incorrect?
Reporter | ||
Comment 80•4 years ago
•
|
||
(In reply to Bodea Daniel [:danibodea] from comment #79)
I do not know how to confirm these results. How exactly do you verify them?
You can compare results before and after long session browsing in Task Manager and see how many % of memory Mozilla Firefox is using. Substitute for this could be using external software named Process Explorer. Showing and saving memory reports in about:memory for Mozilla Firefox developers for deep analyzing is next step.
(In reply to Bodea Daniel [:danibodea] from comment #79)
Furthermore, this bug appears to have a regression range provided already. The "regressionwindow-wanted" tag should be removed. Is the regression range provided incorrect?
Yes, regression range is provided, but it's kinda vast and broad. It's still not known which patch from which bug caused this bug from that regression range. That's why "regressionwindow-wanted" tag isn't removed.
Comment 81•4 years ago
|
||
Unfortunately, mozregression does not provide any builds in the regression windows provided (Unable to find enough data to bisect.), so I cannot use mozregression to find the exact push that introduced the memory issue.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 82•4 years ago
|
||
I'm still having this issue with Firefox 75 in Linux: heap-unclassified can take several GBs after a few days, even after freeing gc & cc.
Disabling hardware acceleration is the only way I found to workaround this (aside of disabling ublock origin).
Reporter | ||
Updated•4 years ago
|
Comment 83•4 years ago
|
||
This might be related considering i have a shit ton of tabs and many are from youtube: https://bugzilla.mozilla.org/show_bug.cgi?id=1628425
Comment 84•4 years ago
|
||
Wrong link i meant this: https://bugzilla.mozilla.org/show_bug.cgi?id=1629649
Reporter | ||
Comment 85•4 years ago
|
||
Memory report after very long movies session. With 2 tabs (about:memory+Bugzilla) in 1 window. Others windows and tabs were closed and All 3 Free memory options (GC+CC+Minimize memory usage) were used.
Reporter | ||
Comment 86•4 years ago
|
||
Memory report after very long movies session. With 1 tab (about:memory) in 1 window. Others windows and tabs were closed and All 3 Free memory options (GC+CC+Minimize memory usage) were used.
After Bugzilla tab was closed and having only about:memory tab opened, memory usage goes to sane level.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 90•4 years ago
|
||
Requesting memory report analysis.
Thank you very much in advance!
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 91•4 years ago
|
||
I'm honestly pretty rubbish at reading memory reports. Hopefully erahm or mccr8 can derive meaning from them. Clearing needinfo.
Comment 92•4 years ago
|
||
I see this in the GPU process:
2,178.05 MB ββ resident
2,150.48 MB ββ resident-unique
There's nothing else in there that looks particularly high. Maybe this is something like the graphics drivers using this process to store textures or something. I don't know much about how GPU memory works.
Comment 93•4 years ago
|
||
S1 or S2 bugs need an assignee - could you find someone for this bug?
Moving this based on comment 92 to see if gfx expertise can help debug. Jessie, do you know anyone who would be suitable to investigate?
Comment 95•4 years ago
|
||
Seems like this bug has been bounced around for quite a bit.
Virtual_ManPL, since you seem to be consistently able to reproduce, I'd be curious to know if using WebRender changes anything or not. I didn't notice any mention of trying it above (but there is a long thread here, apologies if I have missed anything). It would just be interesting to know if that makes a difference.
Updated•4 years ago
|
Reporter | ||
Comment 96•4 years ago
|
||
FYI - I was busy last week and I will report back on end of this week in weekend.
Reporter | ||
Comment 97•4 years ago
|
||
I tested WebRender and bug happens also with WebRender, except that WebRender is still more bugged than Direct3D 11 (Advanced Layers) Compositing.
Reporter | ||
Updated•4 years ago
|
Comment 98•4 years ago
|
||
Just to confirm - you are seeing this on Win7, is that correct? There's just a long history here so I want to make sure I am not off base.
Reporter | ||
Comment 99•4 years ago
|
||
Yes, I'm seeing this issue on Windows 7, but there are comments here and in duplicated bugs, that it's also happening on Windows 10, and unfortunately there is no any workarounds to purge memory usage to sane levels (except closing Mozilla Firefox browser, but in most cases it's not possible due to still ongoing browsing session, so it's hardly workaround, that's why I changed Severity back to S2, as it was before).
Reporter | ||
Updated•4 years ago
|
Comment 100•4 years ago
|
||
I am experiencing this problem in Arch Linux. By the way, I wanted to provide an update: disabling hardware acceleration and setting process limit to 1 didn't completely eradicate the problem, but it absolutely helps in the sense that instead of having to restart Firefox every two days I can go for almost a month without memory issues. I have memory reports displaying high heap-unclassified (+2gb iirc) for both default and customized settings if anyone is interested.
Reporter | ||
Updated•4 years ago
|
Comment 101•3 years ago
|
||
I'm experiencing similar problem. The GPU process is not releasing RAM to the system. The problem is more severe when i try to watch HTML5 video on Youtube and i switch 4 - 5 videos in rapid succesion. The GPU process skyrockets and even when i closte the tab where the video was played the GPU process is still using approx 1 GB of RAM. I have tried to start Firefox without extensions (i use 1. uBlock Origin) and even tried to update my GPU drivers. The last thing i have tried is to perform clean instalation of Firefox and even then the problem with GPU process not releasing memory prevails.
Also i have discovered that on a multiple GPU systems (systems Equiped with Nvidia Optimus technology) there is a problem with Firefox not switching the GPU in the event of change by user (for example some laptops are designed to switch the OS to the low power GPU), the Firefox is still using the dedicated GPU and is passin thru the image using dwm.exe (Desktop Window Manager) and causing it to consume memory. If this happend only once during switch it would be ok but the Firefox is causing the dwm.exe to consume memory with each HTML5 wideo playback or even with each switch of the tabs in the open window.
Comment 103•2 years ago
|
||
This bug has been open a long time and there's a bunch of different reporters and likely a bunch of different problems. I think the best way to make progress is for those who can reproduce this file new bugs (ideally with clear steps to reproduce). That way we can triage the individual problems and hopefully fix some of them. If you do file a new bug, please add a note here so that others can find it.
Updated•2 years ago
|
Comment 104•2 years ago
|
||
The severity field for this bug is relatively low, S4. However, the bug has 5 duplicates, 13 votes and 58 CCs.
:bhood, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 105•2 years ago
|
||
Hello
I have this problem.
My Firefox version is 91.10.0esr.
I use Debian 11 Bullseye.
My GPU is a GeForce GTX 1060 3GB.
The Nvidia driver version is 460.91.03.
I use nvidia-smi to observe GPU memory usage.
This page alone uses 100-140MB of GPU memory. If I open a tab, memory usage does not increase.
If I open a new window, GPU memory usage increases by 65-70MB.
Should I create a new bug report?
Comment 106•2 years ago
|
||
Yes, I think it would be best to launch a new report instead of necro'ing this one. Thanks a bunch, Johan.
Comment 107•1 year ago
|
||
I got the same issue, but only noticed it yesterday for the first time. My laptop suddenly got really hot (like 90C), initially I just suspected that it was a hot day and it was not cooling well. Eventually, I noticed that my ram usage was off the charts (Like 92% of 32GB being used.) I couldn't track down an exact reason in Task Manager (Windows) as the highest using process was Firefox and it was only consuming like 5GB of ram which seemed reasonable given the amount of tabs I had open at the time (10 - 20 tabs). I did eventually suspect that Firefox was the cause though. I opened Task Manager (Firefox) and noticed that GPU was using 18GB of ram.
I wasn't really sure what the cause may be, but my searches led me to believe that Firefox isn't clearing GPU memory after closing video tabs. Today I tried to reprod the issue and basically opening a couple of YouTube tabs (like let's say I had like 10 videos open throughout the day) and then watched some and closing them throughout the day and that ends up with like 6GB of VRAM being used (yesterday when I first experienced this I got like 18GB.) This is obviously rediculous given that I have only one YouTube tab open and like 9 other tabs - I'm not a tab hoarder and close things when I don't need it. Garbage collection in about:memory also doesn't seem to make Firefox clear the GPU memory at all. The only way to fix it is close and restart firefox.
This needs to get investigated and fixed ASAP...
Comment 108•1 year ago
|
||
I am encountering the same problem as above, mostly when PC comes from hibernation, the total used memory is huge (6GB of GPU). In my case helps close and open Firefox again.
Description
•