XFWM4 Memory Leak
May be related to issues: #824, #823, #817
Reddit thread: https://www.reddit.com/r/xfce/comments/1gnu5in/xfwm_memory_usage_continually_increasing_arch/
I've been monitoring 3 of my machines for about a month, and there's continuous memory leaking on 2 of them.
xxxxx 1836 0.7 60.4 40633284 39773128 tty2 Sl+ Nov28 105:21 xfwm4
OS: All Arch Linux, not sure when it started but I update the machines every week or 2 and have seen this since the beginning of Nov or so. Kernels 6.11.x to 6.12.1. All currently on 6.12.1.
Currently xfwm4 4.18.0-4, I am not sure if this has changed over the last month.
Affected machines - the 2 that have the problem have the same hardware:
CPU: AMD Ryzen 9 5900X 12-Core Processor
GPU: 2d:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1) - driver depends, see below
Kernel types are different, one affected machine runs the Zen kernel, the other runs the mainline kernel
RAM: 64G
Unaffected machine:
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
GPU: 00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01) - driver i915
Kernel type: Mainline
RAM: 64G
This is a pretty slow leak, can take several hours to go from normal amount of memory to half the memory of the system.
The leak sometimes fixes itself and reduces memory. It often gets to 50-60% of my RAM and then will slowly reduce the memory usage back to the normal 1% or so it usually takes. A little weird, but I have noticed that if it is draining while running video in Chrome, pausing the video causes the memory to stabilize until the video resumes, then it begins to drain again.
Nvidia drivers are different on the affected machines:
Machine 1 -
Zen Kernel: extra/nvidia-settings 565.57.01-1 (774.1 KiB 1.5 MiB) (Installed)
extra/nvidia-utils 565.57.01-2 (241.3 MiB 689.1 MiB) (Installed)
extra/nvidia-dkms 565.57.01-2 (52.2 MiB 85.2 MiB) (Installed)
Machine 2 -
Mainline Kernel: extra/nvidia-settings 565.57.01-1 (774.1 KiB 1.5 MiB) (Installed)
extra/nvidia-utils 565.57.01-2 (241.3 MiB 689.1 MiB) (Installed)
extra/nvidia 565.57.01-8 (54.3 MiB 54.4 MiB) (Installed)
Let me know if I can provide any other info or do any testing.