| Summary: | The Plasmashell has a memory leak | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | talewis5 |
| Component: | general | Assignee: | David Edmundson <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Output recieved after restarting Plasmashell from konsole
Some journal logs for Plasmashell |
||
|
Description
talewis5
2021-02-12 23:04:12 UTC
Please include version numbers. Please get include a log with heaptrack Sorry, I updated with the version number. 5.20.5 is the highest version available on Fedora. Can you tell me how to get that log and I will do so? Just an update, It is possible that the memory leak might be in part caused by the plasmashell and kwin_x11 caching stuff and then not releasing old memory. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! We really need a human-readable wiki page that explains how to use it. Sorry that we don't have one yet. In the meantime, perhaps you can make heads or tails of https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux.html Created attachment 136616 [details]
Output recieved after restarting Plasmashell from konsole
I used konsole to restart Plasmashell then I played with the desctop environment and as I did I got the following output. I also monitored the memory usage of Plasmashell and saw how the memory usage would increase as I got this output.
Created attachment 136617 [details]
Some journal logs for Plasmashell
I cleared the journal and restarted my computer. I checked it and saw this in the logs. If I get more I can upload it later.
I was not able to figure out how to make a heep trace, but I was able to get some log output for Plasmashell that seems to be related to the memory issue. As I played with the desktop I watched the memory usage with ksysguard and saw how as I did things the memory usage whent up and I get the output in the Plasmashell output.txt file. While I dont know the cause of the memory issue it would seem that the developers have some poor programming practices in their code. I believe that if the devs go in and fix what is causing all this log output it would improov the memory problem. It looks to me like the memory problem is being caused by code errors from more than one area of code based on this log output. Im sorry there is not much in the journal output.txt. I cleared the journal and restarted my computer. I would have to use it longer to get more journal log data, but I feel that it would be the same as what I get from konsole when I use konsole to restart the Plasmashell. I think that in order for this problem to be fixed, the devs need to see this log data and fix whatever is causing it. (This log data is not for everything. I did not have time to test everything in the desktop. Also of the things that I tested the Application Launcher widget seem to cause the most memory leak problems.) The log contains no information. Sorry. Please include a log created with https://github.com/KDE/heaptrack or at least identify if any specific widget triggers the bug. Potentially this is 432449 Lets assume so until there is information to the contrary *** This bug has been marked as a duplicate of bug 432449 *** I tried to use that HeapTrack tool, but sadly I can't get it to build. Cmake keeps giving me errors and dnf can't locate some of the needed dependicies(pthread gdb). The only thing I can tell you is that the biggest cause of the memory leak is that I have found is: the notification widget every time you get a notification, The Application Menu widget, and when I unlock my computer. These three things seem to be the biggest cause of the memory leak, but all the widgets cause some form of a leak. |