Created attachment 137092 [details] Memory and Swap History plot (which is bugged) SUMMARY "Memory" line in the "Memory and Swap History" plot in the "System Load" tab does not show actual allocated memory but only Application memory. Which I think is misleading to someone who wants to know how much memory is available. I've created a separate tab with both Application Memory and Allocated Memory for comparison STEPS TO REPRODUCE 1. run shared-memory-test.py (needs pytorch) 2. download it into a directory and "cd" into it 3. run "python3 -m venv venv; source venv/bin/activate, pip install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html" 4. run "python shared-memory-test.py" OBSERVED RESULT Check the Memory and Swap History Plot, it will show it decreases when actually the process moved a huge array into shared memory. I'm attaching screenshots of what I see, both in my custom plot and the default one. EXPECTED RESULT The Memory and Swap History plot should not show any decrease in ram usage at all, since it's misleading. SOFTWARE/OS VERSIONS Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-70-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-3770K CPU @ 3.50GHz Memory: 31.3 GiB of RAM ADDITIONAL INFORMATION
Created attachment 137093 [details] My custom Application vs Allocated Memory plot
Created attachment 137094 [details] Script that creates an array and copies it into shared memory
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!