SUMMARY When ksysguard launched it is about 20mb ram usage but after a while ( within half hour) it became 400mb usage STEPS TO REPRODUCE 1. run ksysguard 2. wait about half hour 3. (if you want to see faster result just open some cpu intensive applications or do some travel around hard drive with dolphin ) OBSERVED RESULT It reaches ~ 400 mb ram usage EXPECTED RESULT It must be around 20 - 30 mb usage SOFTWARE/OS VERSIONS Linux/KDE Plasma: Latest git version KDE Plasma Version: Latest git version ( 5.19.90 ) KDE Frameworks Version: Latest git version ( 5.75 ) Qt Version: Qt 5.15 branch compiled from git ( 5.15.1 ) ADDITIONAL INFORMATION valgrind logs added
Created attachment 131820 [details] Valgrind log
Still a problem in 5.20.0 Also a problem for the systemmonitor (System Activity) spawned from Ctrl+Esc Leaving them both open overnight can lead to over 1 GiB of usage. Current usage after leaving it on overnight: ksysguard: 1.9 G systemmonitor: 1.4 G
Same story for me: Plasma 5.20.1 Frameworks 5.75.0 Qt 5.15.1 Memory used by KSysGuard will steadily increase and can reach 2GiB overnight. Also note https://bugs.kde.org/show_bug.cgi?id=428048 as a possible duplicate of this bug.
https://github.com/KDE/libksysguard/commit/23852597c642a5c5303bb994d4d28e20d9c863cb will not compile for me with "error: ‘Updates’ in ‘class KSysGuard::Process’ does not name a type" - like errors https://github.com/KDE/libksysguard/commit/40cb8d6acbb12e516c1d327a9b2574560adcb4ec is Ok for me,later commits have KSysGuard run away with my memory
*** This bug has been marked as a duplicate of bug 428048 ***