Memory Leak on Window Creation
I've noticed gnome-shell using upwards of 700MB on longer sessions. It seems every time a window is rounded, memory increases by a few megabytes and persists even after the window is closed. Only resetting shell via alt+f2 frees the memory.
By repeatedly opening and closing a window I'm able to see the usage increase dramatically, this doesn't occur when the extension is disabled: 2022-08-26_00-19-39.webm
Gnome 42.4 X11 Nvidia
It weird that memory leak only happened in Nvidia driver.When I switched to intergrated driver, the memory usage is normal:
https://user-images.githubusercontent.com/32430186/187336983-21b23551-2da2-4f84-bcff-06b9b594c0be.mp4
Sorry that I have not found a way to fix this problem.
@yilozt Could you pin this? This is fairly important to be aware of and quite problematic for daily usage of this extension. :sweat_smile:
It would appear the issue seems to largely be resolved on my machine. I can still get it to leak a few MB after a lot of spamming windows, but after a short delay most of the memory is returned.
There has been a few updates to Nvidia's drivers since this was opened, so it's possible that as of 515.76 this is fixed.
Pretty sure this can be closed, unless you want to leave it up for the sake of users running older drivers.
Pretty sure this can be closed, unless you want to leave it up for the sake of users running older drivers.
As a reminder, the NVIDIA 515.76 driver is completely defective, so we should leave it open until they fix their driver:
https://forums.developer.nvidia.com/t/515-76-nvidia-drivers/229132/15 https://bugs.archlinux.org/task/75995
Still present with version 520.56.06. In fact, it got worst, now leaking ~20MB per opened window. In a 20~ minute session, this can represent a memory leak of a few GB. In just one hour, my Gnome desktop was up to 10 GB. Disabling the extension eliminated the memory leak.
Are we certain this is NVIDIA-specific? I've noticed increased ram usage when using this extension, and I'm on Intel integrated graphics.
GNOME 43.0 Wayland Intel