SUMMARY This is on a laptop hooked up to multiple monitors via docking station (laptop is closed & screen is off). After the last slideshow memory leak, I didn't start using slideshow again until recently. I had a running session for nearly two weeks with reasonable plasmashell memory usage - it started at about 90mb after a fresh boot, gradually rose to around 200mb, then hovered +/- from there. I then used the laptop disconnected from the docking station, using the laptop's screen. plasmashell memory usage rapidly rose to around 1.4gb during the roughly 8 hours that the laptop was on; though I was not at the laptop, it was mostly sitting on a desk idle. I then docked the laptop again (lid closed, laptop screen off), and memory usage has continued to rise in the roughly 1 hour that I've been using it back on the dock to a little over 1.5gb. STEPS TO REPRODUCE 1. configure slideshow, rapid shuffle time to exacerbate memory leak. 2. start new session with a screen turned off, but some other screens on. (ie, laptop screen off, desktop monitors on). 3. watch memory usage level off at reasonable usage. 4. swap screens (ie, turn on the ones that were off at #2 above, and turn off the ones that were on) 5. watch memory usage rise dramatically. OBSERVED RESULT plasmashell eats too much memory. EXPECTED RESULT plasmashell maintains balanced diet. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo. kernel 4.20.x & 5.0.3 (available in About System) KDE Plasma Version: 5.15.2 KDE Frameworks Version: 5.56 Qt Version: 5.11.3 ADDITIONAL INFORMATION
I'm rushing to get this bug report in before a meeting, and I missed something describing the steps I follow...though I am not sure if these are required in order to reproduce the leak: Step 3.5: sleep or hibernate Step 4: (switch screens when laptop is sleep or hibernate) Step 4.5: turn power back on with new monitor configuration.
please attach output of QSG_INFO=1 plasmashell --replace and attach the log for the first few seconds
Created attachment 118966 [details] output: QSG_INFO=1 plasmashell --replace
Created attachment 119195 [details] 5.15.3: output: QSG_INFO=1 plasmashell --replace I have updated to Plasma 5.15.3. The problem persists. This is the output as requested, running on 5.15.3.
Is there anything additional I can be doing to see a resolution to this memory leak?
Well, plasmashell --replace works reliably, so I've been doing that at the end of the day...so at least I can work around this. Thanks for that tip.
New information was added with comment #4; changing status for inspection.
updated to Plasma 5.15.4, Frameworks 5.57 & Apps 19.04 ... still experiencing this memory leak.
Created attachment 119870 [details] plasmashell using 4.7gb ram!
I am now on Qt 5.12.3 and plasmashell is no longer over-indulging in memory, so likely this was in Qt.