SUMMARY There is an anomaly with the amount of RAM usage/accumulation after a several amount of time the plasma widgets are being used for. After 4 hours of uptime, I have observed (after closing down my other applications, other than plasma-widgets, about 7-8GB of RAM being eaten by metrics accumulated by widgets. Please see screenshot. STEPS TO REPRODUCE 1. Open at least 6-8 types of widgets for metrics such as seen in the screenshot. 2. Wait 5+ hours. 3. Use the machine as per usual. OBSERVED RESULT Leaked memory and high RAM usage coming from a large array of kdeplasmashell processes. After reboot, things went to normal. Reproduceable. EXPECTED RESULT Metrics/widgets should release/clear memory if it has accumulated a certain amount of it. RAM should have been 1.1GB (the norm for my machine when having nothing running other than the shell/system). Not 8.2GB. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.13.19-2-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx Memory: 15.3 GiB of RAM Graphics Processor: AMD Radeon™ Vega 8 Graphics ADDITIONAL INFORMATION
X server used. Not wayland.
Created attachment 142637 [details] Memory leak at time of issue
Created attachment 142638 [details] Memory after boot.
If it helps, I've also changed my update tick time to 2 seconds rather than the "No Limit" option as the rendering updated too fast for my liking. Attempt this as well.
We'll need more info about what exactly is leaking memory. You'll need to do some debugging here, by reproducing the problem by removing things one at a time and seeing what makes it stop leaking. However one question first: have you been receiving a lot of notifications by any chance? Those are known to leak some memory right now.
Aye. I'm going to do some more isolation... After about a good few hours, I've eliminated the widgets so it seems the widgets themselves aren't leaking. I'm left now with the following culprits. I will do some more testing. It's not easy to grab metrics every 3-4 hours... Anyway, I've killed almost everything on my system and these were left, still occupying that huge chunk of memory: POSIBBLE LEAKERS * kglobalaccel5 * kdeinit5 * kf5/start_kde * sddm * polkitd * dbus (some service?) * systemd (some script)? * ?
Well what actual process is eating up all the memory? system monitor will tell you.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!