SUMMARY I have a 13 hour uptime. STEPS TO REPRODUCE 1.Use a computer. gtx 1060, closed source drivers nvidia-dkms, linux-zen OBSERVED RESULT Every kde component seems to use a "healthy" amount of ram. But it seems like kwin_x11, got a bit chunky. EXPECTED RESULT I don't have to call kwin_x11 --replace every now and then, this brings it down to 200-110MiB(grows if one uses certain features etc. not everything needs to be aggressively garbage collected at all times, but 1.5GiB is excessive for 4 windows open[konsole, firefox, ksysguard, hexchat], 2 empty workspaces(out of 3))+99MiB. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.12.2-zen2-1-zen KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2
There are many types of "ram" used, some harmless some not. Please include a full screenshot from ksysguard/plasma-sytemmonitor. Then if things look like a leak please collect a trace with heaptrack
(In reply to David Edmundson from comment #1) > There are many types of "ram" used, some harmless some not. > > Please include a full screenshot from ksysguard/plasma-sytemmonitor. > > Then if things look like a leak please collect a trace with heaptrack I have restarted kwin yesterday as I put my pc and myself to sleep. However, I am gonna setup some kind of watchdog so I know when it is going to reaches around 1GiB again, and make it take a heaptrack once the memory stays within a 100MiB range of 1GiB for couple minutes and notify me in both cases.
Created attachment 138353 [details] Tried attaching via heaptrack to test out the heaptrack. But from what I can tell the file is completely empty.
Created attachment 138443 [details] Mem usage, it still hasn't risen to 1.5GiB, but it does slowly raise up and doesn't get freed up much. I haven't put my machine to much use in the following days. It doesn't raise when you don't use it(and stays high when I close the windows). The ram usage have only risen 200% from the initial value. so from 110MiB to around 380MiB. I do realize that mem usage raises and falls with opening and closing apps, but it seems it doesn't always reclaim all the memory afterwards. I got a large compile job running again, ignore the cpu usage;
Created attachment 138537 [details] 800MB
Created attachment 138538 [details] Heaptrack
(In reply to David Edmundson from comment #1) > There are many types of "ram" used, some harmless some not. > > Please include a full screenshot from ksysguard/plasma-sytemmonitor. > > Then if things look like a leak please collect a trace with heaptrack Do you need a core dump as well?
I have removed the core dump, I needed some disk space.
Fixed