Bug 493164

Summary: plasma-systemmonitor shows an exaggerated number (possibly plugged from top?)
Product: [Applications] plasma-systemmonitor Reporter: Ashley <fennecmutt>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED NOT A BUG    
Severity: minor CC: ahiemstra, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.0.5   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 3 Windows showing different system monitors, on the bottom left is top, on the top left its htop and the right its plasma-systemmonitor

Description Ashley 2024-09-15 15:57:41 UTC
Created attachment 173692 [details]
3 Windows showing different system monitors, on the bottom left is top, on the top left its htop and the right its plasma-systemmonitor

plasma-systemmonitor shows an exaggerated ram usage after using the system for a while


1.  Start Plasma6
2.  Use the system normally or idly 
3.  Measure high ram usage despite 2.

OBSERVED RESULT

The system monitor is reporting a false number that shows the ram usage climbing as system is being used, this is the same number reported by top but not reported by htop/btop

EXPECTED RESULT

It should show a realistic number going in line with system monitors like htop/btop and not an exaggerated number

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.05
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.2
Kernel Version: 6.6.51 (64-bit)
Graphics Platform: Wayland
Processors: 4 × 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Nate Graham 2024-09-16 17:12:53 UTC
It actually turns out that there are many ways to measure memory usage, because there are many different types of memory. This means that memory usage measurements between different apps and CLI tools are always bound to differ based on what their authors count as memory, unfortunately.