Summary: | plasmashell leaks memory after each resume (currently around 23 GB) [with heaptrack] in plasmadesktoptheme.cpp:231 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Szőts Ákos <akos+kde> |
Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | arisu+kdebugs, bebl, cyberbeat, dga231, kde-bugs.ojiug, nate |
Priority: | NOR | ||
Version First Reported In: | 5.26.5 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
23 GB leak
Flame graph Top leakers Top-down 30 GB Plasma leak |
Description
Szőts Ákos
2023-02-07 19:28:29 UTC
Created attachment 156039 [details]
Flame graph
Created attachment 156040 [details]
Top leakers
Created attachment 156041 [details]
Top-down
This sounds like exactly the issue I am experiencing as well, except that it only starts occuring after about 20 sleep/resume cycles. I have the impression the leak is exponential though, the first few cycles the memory increases as well, but barely noticeable (<50 MB), then after about 20 cycles it increases to 1 GB, then each cycle to 1.5 / 2.5 / 4.3 / 8.0 GB. It does not seem to matter how much time passed between sleep and resume. heaptrack does not seem to show anything out of the ordinary, but I am probably not reading it right. My system: Operating System: Ubuntu Studio 22.04 KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.19.0-1024-lowlatency (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 1600X Six-Core Processor Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2 Created attachment 160131 [details]
30 GB Plasma leak
Just wanted to confirm that in the latest version it's still an issue.
Operating System: openSUSE Tumbleweed 20230603
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Thanks for the bug report! I'm really sorry that we weren't able to get to it before now. A lot has changed since then, including a new Plasma major version backed by a new Qt major version. Are you able to see if the issue still happens on Plasma 6.3.5 or later? Thanks a lot! No, I haven't seen it recently. |