GPU memory leak, probably related to HTML5 video (YT)

For little more than year I've been battling with an issue, where after watching Youtube for hour or two, and having 5-6 open tabs with videos, at some point Firefox woul… (ďalšie informácie)

For little more than year I've been battling with an issue, where after watching Youtube for hour or two, and having 5-6 open tabs with videos, at some point Firefox would crawl to a stop with UI going down to 1-2 fps, and finally inability to click anything, until I restarted the browser.

Only today I have pieced together, that when it happens, task manager shows almost all of my GPU's VRAM (Dedicated GPU memory) is claimed by Firefox. It looks that there is a GPU memory leak somewhere.

How should I go on about this? If it's a bug, what I should include in a report?

Here is ~2 hrs of progress, PC and Firefox specs at the end:

This is after watching one ~20 minute video:

====================

GPU (pid 10124) Explicit Allocations

0.24 MB (100.0%) -- explicit └──0.24 MB (100.0%) -- gfx/webrender/gpu-cache

  ├──0.24 MB (100.0%) ── metadata
  └──0.00 MB (00.00%) ── cpu-mirror

Other Measurements

0.78 MB (100.0%) -- gfx └──0.78 MB (100.0%) ── webrender/textures/gpu-cache

 265.84 MB ── gpu-committed

1,246.20 MB ── gpu-dedicated

  11.72 MB ── gpu-shared

End of GPU (pid 10124)

====================

After second video, another 15 minutes later:

====================

GPU (pid 10124) Explicit Allocations

0.29 MB (100.0%) -- explicit └──0.29 MB (100.0%) -- gfx/webrender/gpu-cache

  ├──0.29 MB (100.0%) ── metadata
  └──0.00 MB (00.00%) ── cpu-mirror

Other Measurements

0.63 MB (100.0%) -- gfx └──0.63 MB (100.0%) ── webrender/textures/gpu-cache

 277.34 MB ── gpu-committed

1,737.74 MB ── gpu-dedicated

  16.55 MB ── gpu-shared

End of GPU (pid 10124)

====================

After opening and CLOSING several youtube tabs, withplaying 10-15 seconds of each video:

====================

GPU (pid 10124) Explicit Allocations

0.19 MB (100.0%) -- explicit └──0.19 MB (100.0%) -- gfx/webrender/gpu-cache

  ├──0.19 MB (100.0%) ── metadata
  └──0.00 MB (00.00%) ── cpu-mirror

Other Measurements

0.78 MB (100.0%) -- gfx └──0.78 MB (100.0%) ── webrender/textures/gpu-cache

 390.18 MB ── gpu-committed

4,339.20 MB ── gpu-dedicated

   4.27 MB ── gpu-shared

End of GPU (pid 10124)

================================

Here, I closed all tabs except about:memory. After another ~60 minutes of random browsing non-video pages (literally text pages and Google Docs):

====================

GPU (pid 10124) Explicit Allocations

0.25 MB (100.0%) -- explicit └──0.25 MB (100.0%) -- gfx/webrender/gpu-cache

  ├──0.25 MB (100.0%) ── metadata
  └──0.00 MB (00.00%) ── cpu-mirror

Other Measurements

0.94 MB (100.0%) -- gfx └──0.94 MB (100.0%) ── webrender/textures/gpu-cache

 324.99 MB ── gpu-committed

4,396.21 MB ── gpu-dedicated

   0.62 MB ── gpu-shared

End of GPU (pid 10124)

====================

It never goes down.

Then, I opened played for few seconds, stopped and closed (including tabs) ~15 youtube videos:

================================

GPU (pid 10124) Explicit Allocations

52.08 MB (100.0%) -- explicit ├──23.07 MB (44.29%) -- gfx │ ├──23.07 MB (44.29%) -- webrender │ │ ├──10.00 MB (19.20%) ── upload-stagin-memory │ │ ├───6.74 MB (12.95%) ── texture-cache/structures │ │ ├───3.69 MB (07.08%) -- interning │ │ │ ├──1.48 MB (02.84%) -- clip │ │ │ │ ├──0.78 MB (01.50%) ── interners │ │ │ │ └──0.70 MB (01.34%) ── data-stores │ │ │ ├──1.24 MB (02.39%) -- text_run │ │ │ │ ├──0.92 MB (01.77%) ── interners │ │ │ │ └──0.32 MB (00.62%) ── data-stores │ │ │ └──0.96 MB (01.85%) ++ (15 tiny) │ │ ├───0.95 MB (01.83%) ++ (6 tiny) │ │ ├───0.89 MB (01.71%) ── shader-cache │ │ └───0.79 MB (01.52%) -- resource-cache │ │ ├──0.79 MB (01.52%) ── fonts │ │ └──0.00 MB (00.00%) ++ (3 tiny) │ └───0.00 MB (00.00%) ++ (3 tiny) ├──19.94 MB (38.30%) ── heap-unclassified ├───4.00 MB (07.68%) ── ac2d/heap-resources ├───3.25 MB (06.25%) -- threads │ ├──2.29 MB (04.40%) ++ stacks │ └──0.96 MB (01.85%) -- overhead │ ├──0.91 MB (01.76%) ── kernel │ └──0.05 MB (00.09%) ++ (2 tiny) ├───1.35 MB (02.59%) -- phc │ ├──1.35 MB (02.59%) ── metadata │ └──0.00 MB (00.00%) ── fragmentation └───0.46 MB (00.89%) ++ (9 tiny)

Other Measurements

134,217,727.94 MB (100.0%) -- address-space ├──132,114,625.34 MB (98.43%) ── free(segments=370) ├────2,101,793.05 MB (01.57%) -- reserved │ ├──2,097,077.34 MB (01.56%) ── mapped(segments=14) │ └──────4,715.70 MB (00.00%) ── private(segments=550) └────────1,309.55 MB (00.00%) ++ commit

72.73 MB (100.0%) -- decommitted └──72.73 MB (100.0%) -- heap

  ├──61.39 MB (84.41%) ── decommitted
  └──11.34 MB (15.59%) -- unused-pages
     ├──11.34 MB (15.59%) ── fresh
     └───0.00 MB (00.00%) ── madvised

304.62 MB (100.0%) -- gfx └──304.62 MB (100.0%) -- webrender

  ├──302.79 MB (99.40%) -- textures
  │  ├──192.00 MB (63.03%) ── render-targets
  │  ├───44.00 MB (14.44%) -- texture-cache
  │  │   ├──44.00 MB (14.44%) ── atlas
  │  │   └───0.00 MB (00.00%) ── standalone
  │  ├───32.00 MB (10.51%) ── depth-targets
  │  ├───18.93 MB (06.21%) ── swap-chains
  │  ├───11.25 MB (03.69%) ── upload-staging-textures
  │  └────4.61 MB (01.51%) ++ (5 tiny)
  └────1.83 MB (00.60%) ++ images/mapped_from_owner

128.00 MB (100.0%) -- heap ├───72.73 MB (56.82%) -- decommitted │ ├──61.39 MB (47.96%) ── unmapped │ └──11.34 MB (08.86%) -- unused-pages │ ├──11.34 MB (08.86%) ── fresh │ └───0.00 MB (00.00%) ── madvised └───55.27 MB (43.18%) -- committed

   ├──48.27 MB (37.71%) ── allocated
   ├───3.95 MB (03.09%) -- bin-unused
   │   ├──2.35 MB (01.84%) ++ (44 tiny)
   │   └──1.60 MB (01.25%) ── bin-1024
   ├───1.96 MB (01.53%) ── bookkeeping
   └───1.09 MB (00.85%) ── unused-pages/dirty

41 (100.0%) -- ipc-channels ├───7 (17.07%) ── PCompositorManagerParent ├───7 (17.07%) ── PImageBridgeParent ├───7 (17.07%) ── PVRManagerParent ├───6 (14.63%) ── PRemoteDecoderManagerParent ├───5 (12.20%) ── PAPZInputBridgeParent ├───4 (09.76%) ── PCanvasManagerParent ├───2 (04.88%) ── PVideoBridgeParent ├───1 (02.44%) ── PGPUParent ├───1 (02.44%) ── PProfilerChild └───1 (02.44%) ── PVsyncBridgeParent

78 (100.0%) -- ipc-channels-peak ├──14 (17.95%) ── PCompositorManagerParent ├──14 (17.95%) ── PImageBridgeParent ├──14 (17.95%) ── PVRManagerParent ├──13 (16.67%) ── PRemoteDecoderManagerParent ├──10 (12.82%) ── PCanvasManagerParent ├───8 (10.26%) ── PAPZInputBridgeParent ├───2 (02.56%) ── PVideoBridgeParent ├───1 (01.28%) ── PGPUParent ├───1 (01.28%) ── PProfilerChild └───1 (01.28%) ── PVsyncBridgeParent

25 (100.0%) -- observer-service └──25 (100.0%) -- referent

  ├──22 (88.00%) ── strong
  └───3 (12.00%) -- weak
      ├──3 (12.00%) ── alive
      └──0 (00.00%) ── dead

1 (100.0%) -- preference-service └──1 (100.0%) -- referent

  ├──1 (100.0%) ── strong
  └──0 (00.00%) ++ weak
               1 ── ac2d-context-count
               0 ── ac2d-target-count
         4.00 MB ── ac2d-texture-memory
         0.00 MB ── gfx-d2d-vram-draw-target
         0.00 MB ── gfx-d2d-vram-source-surface
       462.87 MB ── gpu-committed
     6,829.63 MB ── gpu-dedicated
         0.62 MB ── gpu-shared
        48.27 MB ── heap-allocated
         1.00 MB ── heap-chunksize
       686.68 MB ── private
       558.20 MB ── resident
       481.14 MB ── resident-unique
        44.44 MB ── system-heap-allocated
 2,103,102.59 MB ── vsize

129,414,503.44 MB ── vsize-max-contiguous

               0 ── webgl-buffer-count
         0.00 MB ── webgl-buffer-memory
               0 ── webgl-context-count
               0 ── webgl-renderbuffer-count
         0.00 MB ── webgl-renderbuffer-memory
               0 ── webgl-shader-count
               0 ── webgl-texture-count
         0.00 MB ── webgl-texture-memory

End of GPU (pid 10124)

====================

This just continues, when gpu-dedicated hits ~7.8 GB, Firefox becomes unusable, and rest of the system appears a bit sluggish.

I can't say if this is regression, since I haven't been watching YT at all until recently.

Windows 10 Pro 22H2 Firefox Nightly 64 bit EN, 139.0a1 build 20250405211119 Checked in my normal everyday profile and with new clean one. GPU acceleration enabled, all video codecs installed.

Hardware: Core i7 9750H, 32 GB DDR4, GeForce 4060 8 GB. this is NOT a RAM issue, RAM usage never goes above ~19 GB on this PC.

It happens a tad bit slower than before, when I had 1060 6 GB.

I also noticed it on my laptop with integrated Intel GPU, but I don't have it anymore, so can't really check.

Otázku položil(a) tcobalt Pred 1 hodinou

Opening Multiple Tabs

I'm fed up with updates. Whomever decided to move opening multiple tabs to the left or right had of the desktop has their head up their ass. It takes up significantly mor… (ďalšie informácie)

I'm fed up with updates. Whomever decided to move opening multiple tabs to the left or right had of the desktop has their head up their ass. It takes up significantly more desktop space now and is nowhere as easy to use as when they were on they tiop of the desktop. Plainly - IT SUCK - no improvement on my 27: iMac

Otázku položil(a) DocRebuild Pred 2 hodinami

Bookmark toolbar menu

geek squad agent couldn't connect so she had me restore firefox to default settings, now My bookmark toolbar menu is not the same as it was before and it is not on the le… (ďalšie informácie)

geek squad agent couldn't connect so she had me restore firefox to default settings, now My bookmark toolbar menu is not the same as it was before and it is not on the left of the browser page as it was set up before. Can you help me restore my bookmarks as I had it before?

Otázku položil(a) thechevfitz Pred 3 hodinami

website will not load

cannot open allmusic.com website anymore on firefox. this website opens fine on other browsers. Only Firefox is the problem. Any suggestions? … (ďalšie informácie)

cannot open allmusic.com website anymore on firefox. this website opens fine on other browsers. Only Firefox is the problem. Any suggestions?

Otázku položil(a) dpatenaude1 Pred 6 dňami

Posledná odpoveď od dpatenaude1 Pred 3 hodinami

VPN 관해 질문이 있습니다.

언제부터인지 업데이트 이후로 VPN 사용을 하게 되면 특정 사이트에서 "프록시 서버가 연결을 거부함" 문구가 뜨더군요 실행 안하고 할시에 보안연결실패로 접속이 됩니다. 구글의 크롬도 VPN 사용함 사용안함 둘다 적용하여도 사이트 접속이 됩니다 프록시 서버가 연결을 거부함로 사이트 접속이 안되는데 방… (ďalšie informácie)

언제부터인지 업데이트 이후로 VPN 사용을 하게 되면

특정 사이트에서 "프록시 서버가 연결을 거부함" 문구가 뜨더군요 실행 안하고 할시에 보안연결실패로 접속이 됩니다.

구글의 크롬도 VPN 사용함 사용안함 둘다 적용하여도 사이트 접속이 됩니다

프록시 서버가 연결을 거부함로 사이트 접속이 안되는데 방법이 있을지요.

Otázku položil(a) aiceondfff Pred 4 hodinami

Most things work fine - I have Norton account. when Norton detcts issue it throws up a pop-up, the text is HUGE & so huge that 3/4 of message is out of its window & can't be read - how to fix

bold textMost things work fine - I have Norton account. when Norton detcts issue it throws up a pop-up, the text is HUGE & so huge that 3/4 of message is out of its… (ďalšie informácie)

bold textMost things work fine - I have Norton account. when Norton detcts issue it throws up a pop-up, the text is HUGE & so huge that 3/4 of message is out of its window & can't be read the full message & I can't access any action buttons in the message - how to fix this problem. Seems to only involve Norton - I haven't found a place in the Norton site system to make this request directly to them Win 11 - I tried various options in Display> scale, text size, etc. My old laptop is Win 10 and I don't have this problem. I've been using this win 11 laptop for about a year and included Norton most of that time - this problem just came up a couple months ago. I've tried a couple times to get to Norton about it but I get so frustrated that I give up. One picture shows the large screen pop-up. A smaller one pops up in lower right when I insert a thumb drive [ it wants to scan it for virus ] but i can't make it go away, it's right in the way of some important options that can come up beneath it on various apps [like my slider to move up & down the page], and it doesn't show up on screanshots, and Task Mgr> end task does nothing. I took a picture of it with my phone - I'll see if I can attach it here. Any suggestions on normalizing these , scale settings ?, access to Norton where I can deliver this same request - - would be greatly appreciated.

Otázku položil(a) combohan Pred 4 hodinami

Cant move tabs using a stylus pen firefox vanilla

Hello I can use mouse because of my condition. I use a stylus tablet wacom cintiq companion. I cant move the tabs around and some other functionality doesnt work such as … (ďalšie informácie)

Hello I can use mouse because of my condition. I use a stylus tablet wacom cintiq companion. I cant move the tabs around and some other functionality doesnt work such as pressing certain buttons, fox example download button for the snipping tool in firefox.

with mouse it works but not stylus. it started working when i turn off windows ink but I lose the scrolling feature which is something I really need. I tried turning on and off some about:config settings but no luck there. I reset firefox but that didnt work. I tried the edge browser and I get no problems with edge. Other firefox forks have the same issue. I tried windows settings but no luck there.

Need help! Thanks

Otázku položil(a) ula Pred 16 hodinami

Posledná odpoveď od ula Pred 5 hodinami

Firefox doesn’t work AT ALL

All my other browsers work fine but since April 4, 2025 Firefox won’t work at all. Websites won’t load. I have tried to clear my cache & cookies, I have checked my co… (ďalšie informácie)

All my other browsers work fine but since April 4, 2025 Firefox won’t work at all. Websites won’t load. I have tried to clear my cache & cookies, I have checked my connection settings, I have checked for malware, I have turned off all my extensions and I have completely restarted my computer several times now, nothing has worked. I also did trouble shoot mode & reinstalled Firefox (though I will admit I maybe didn’t do this step properly). I refreshed Firefox. Why is it not working? What happened? I don’t know what to do as I don’t want to lose all my bookmarks and passwords that I have yet to move over to my password manager. Please help.

Otázku položil(a) Boushi Pred 9 hodinami

Posledná odpoveď od Boushi Pred 7 hodinami