protonscr

Bad memory leak

vkd3dclosed Intel (ANV)
HansKristian-Work/vkd3d-proton#248 · opened 2020-08-17 by alexfs · updated 2023-02-14 · 5 comments · github
Aalexfs 2020-08-17 github

To reproduce:

  1. Run demos/gears
  2. Download memory monitor script from here: https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
  3. Run memory monitor:
    sudo ps_mem.py -w 1 -t -p pidof gears
  4. Observe memory goes up every tick

Bad commit: 2e0ce6a

Ddoitsujin maintainer 2020-08-17 github

What exactly is the problem? Memory usage stays the same with latest master for me. There is no memory leak.

Aalexfs 2020-08-17 github

Well, In my project the host literally runs out of memory in less than half an hour. I managed to reproduce this memory leak just by running gears sample, memory usage increases on every render frame loop. The leak might be related to my driver or hardware combination (Intel / Mesa 20.1.5), vulkaninfo attached. By reverting the patch memory usage stays stable.
vulkaninfo.zip

Ddoitsujin maintainer 2020-08-17 github

I haven't tested this on Intel (we can't support ANV at the moment anyway), but it works fine on AMD (both RADV and proprietary) and Nvidia.

BBlisto91 2023-02-06 github

@alexfs Friendly ping. Is this still an issue? 🙂

Mmacos-fuse-t 2023-02-06 github

Nope, you can close this

Nothing extracted yet.