SUMMARY /usr/lib/polkit-kde-authentication-agent-1 uses 200+ Memory when the gui pops up and stays same. Compared to usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 which uses 45+ memory when gui pops up. STEPS TO REPRODUCE 1. /usr/lib/polkit-kde-authentication-agent-1 2. pkexec ls 3. Authenticate OBSERVED RESULT Memory consumption increases from 47 MB to 202MB and stays above 200MB. EXPECTED RESULT Memory consumpion similar or better than gnome-polkit SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.1.2 (available in About System) KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION I am on Hyprland but also have Kde environment. The above 'Observed result' is on Hyprland but on Kde it's also same except that instead the beginning memory consumption starts up at 172 MB and after launching gui it stays above 200+ MB.
What are you measuring exactly? How are you measuring? Have you accounted for mapped but shared data sections of libraries?
I observed this in btop++. Didn't do all of those things you mentioned.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
You'll probably want to read http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html