# Webgpu memory leak

**URL:** <https://discourse.mozilla.org/t/webgpu-memory-leak/80922>\
**Category:** Firefox Development\
**Created:** [June 2, 2021, 10:02am UTC](https://discourse.mozilla.org/t/webgpu-memory-leak/80922 "2021-06-02T10:02:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fctorial](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/fctorial/32/49025_2.png) [@fctorial](https://discourse.mozilla.org/u/fctorial)\
**Post date:** [June 2, 2021, 10:02am UTC](https://discourse.mozilla.org/t/webgpu-memory-leak/80922/1 "2021-06-02T10:02:42Z")

</div>

I’ve been playing around with webgpu in firefox recently and I’ve noticed that the memory usage of my system keeps going up while I’m using webgpu features at a rate of around 8 gbs per hour. This memory is not released even if I kill the firefox process and I cannot find any userspace process that owns this memory. The only way to fix it is to reboot the system. I want to know more about this issue and workarounds. Is this a kernel bug, since this isn’t a leak in a userspace process?

I’m using vulkan loader `1.2.131.2`, kernel version `5.11.21` with an amd card and mesa drivers and latest nightly firefox.

---

<div class="post-metadata">

**Author:** ![bjh](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/bjh/32/21802_2.png) [@bjh](https://discourse.mozilla.org/u/bjh)\
**Post date:** [June 6, 2021, 11:13am UTC](https://discourse.mozilla.org/t/webgpu-memory-leak/80922/2 "2021-06-06T11:13:48Z")

</div>

You should file a bug report in Bugzilla.
