https://bugs.kde.org/show_bug.cgi?id=469103
Bug ID: 469103 Summary: Plasmashell leak memory after disabling second monitor from Nvidia Settings Classification: Plasma Product: plasmashell Version: 5.27.4 Platform: Manjaro OS: Linux Status: REPORTED Severity: major Priority: NOR Component: generic-performance Assignee: plasma-b...@kde.org Reporter: om...@redorchestra2.fr Target Milestone: 1.0 Created attachment 158516 --> https://bugs.kde.org/attachment.cgi?id=158516&action=edit Logging of Plasmashell monitoring SUMMARY *** After I enable, and then disable my second monitor with the Nvidia driver, Plasmashell leaks memory rapidly untill the point the system runs out of memory. The issue is ongoing since multiple months/updates. *** STEPS TO REPRODUCE 1. Enable the second monitor in Nvidia Panel 2. Disable the second monitor in Nvidia Panel after a while 3. See Plasmashell increasing its memory usage by a lot constantly OBSERVED RESULT Plasmashell has memory leak EXPECTED RESULT Plasmashell doesn't leak memory SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux 6.1.25 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION I made a script that I run every minutes with CRON to monitor Plasmashell PID, memory usage, cpu usage, and the second monitor, you can see as soon as I disable my second monitor, memory usage is increasing by a lot and it never stops. I attached the log it produces for you to have a look. You can also see that the CPU usage by Plasmashell is to the roof too at this point (I only added that to the end when I was writing this issue so it appears only at the end). Plasmashell PID also changes after I disable the second monitor. It seems trying to reproduce it quickly from cold boot and enabling/disabling the second monitor after a couple minutes doesn't make the memory leak as quick as it is in the attached log. In the attached log, the second monitor is enabled at "ven. 28 avril 2023 06:20:01 CEST" and is disabled at "ven. 28 avril 2023 14:40:01 CEST" -- You are receiving this mail because: You are watching all bug changes.