Playground: WebGPU gpu memory leak

Environment:
Windows 10 x64
Chromium 111.0.5563.65 x64 (ungoogled-chromium build) with WebGPU enabled
Nvidia GTX 1060 6GB Notebook
Babylon.js 5.50.1

Steps:

  1. Open a playground with WebGPU
    https://playground.babylonjs.com/?webgpu#SYQW69#1092
  2. Check gpu memory, where about 1.1GB used
  3. Check the run button and wait for load completed
    ๅ›พ็‰‡
  4. Repeat 3 for 6 times
  5. Check gpu memory, which would never released unless tab is closed or reloaded

The GPU memory usage of a chrome process after all the steps:

ping @Evgeni_Popov

I donโ€™t reproduce, I start at 3.1/12Gb and after 10 runs Iโ€™m still at 3.1/12Gb.

Keep in mind that WebGPU support is not yet fully implemented in browsers, and there are still some bugs (for example on our Ocean demo: 1701 - dawn - Implementation of the WebGPU standard - Monorail).

1 Like

Here is screen recording for this:

Would anything from chrome://gpu helps? This is too large to be pasted into reply.
report.zip (13.8 KB)

I do reproduce today! Going to have a look.

3 Likes

Memory leaks (among others) will be corrected by :

4 Likes