Summary: | System monitors leak memory, to a tune of 1GB (!) every 24 hours. | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Gilboa Davara <gilboad> |
Component: | System Monitor | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, arojas, homonomonom1984, nate, plasma-bugs, sonichedgehog_hyperblast00 |
Priority: | VHI | Keywords: | regression |
Version: | 5.19.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kquickcharts/b06031fd5439715f7396471f8e8555a5e7bd4edf | Version Fixed In: | 5.75 |
Sentry Crash Report: |
Description
Gilboa Davara
2020-07-25 05:36:04 UTC
Short update: 48h later, had to kill plasmashell when it ate >20GB. Eeek. Less than 24 hours later. Mon 27 Jul 2020 06:33:11 PM IDT PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2022829 gilboa 20 0 9922852 7.3g 228252 S 0.0 23.4 15:37.82 plasmashell I'll try and delete all CPU monitors (keeping disk, memory and network monitors) and see if it helps. *** Bug 426539 has been marked as a duplicate of this bug. *** Git commit b06031fd5439715f7396471f8e8555a5e7bd4edf by Arjen Hiemstra. Committed on 06/10/2020 at 09:58. Pushed by ahiemstra into branch 'master'. Delete all child nodes when resetting the segments in line chart node Apparently being owned by the parent does not mean removeChild cleans things up so we have to do that manually. M +1 -0 src/scenegraph/LineChartNode.cpp https://invent.kde.org/frameworks/kquickcharts/commit/b06031fd5439715f7396471f8e8555a5e7bd4edf We think the above commit may have fixed the issue. Can you test with Frameworks 5.75 once it's released next month? Please feel free to re-open the bug if you're still seeing the issue with Frameworks 5.75. (In reply to Nate Graham from comment #5) > We think the above commit may have fixed the issue. Can you test with > Frameworks 5.75 once it's released next month? Please feel free to re-open > the bug if you're still seeing the issue with Frameworks 5.75. 5.75 is already tagged, this won't be included unless you ask David for a respin So it has, thanks for the reminder. I'll send an email. I applied the patch to 5.74 and it seems to have helped but I think plasmashell is still leaking. I've lost about 100 MB in the last 24 hours. Alright, everything seems quite good after several days. Memory usage has come back down and the patch appears to function well. Memory is below 200MB after 3 days. Thanks! Phew! Thanks for checking. Thanks all! |