Created attachment 131652 [details] Journalctl output SUMMARY When adding a resource monitoring widget, the text in the widget will distort. After rebooting the system, Plasma Shell will continually use more and more memory. After 3 days of use without rebooting, Plasmashell itself was using more than a GiB of memory. I don't know if it's related at all, but the continual memory usage of Plasma Shell increases when the text distorts. STEPS TO REPRODUCE 1. Create/add resource managing widget, either pie or bar graph 2?. Change widget option colors 3?. Resize widget 4?. Change widget from pie to line or visa versa. 5?. Add sensor details 6. Reboot system OBSERVED RESULT Widget sensor detail text will either disappear or will partially disappear (I.E "Write speed" will become "Wr..." I have reason to believe this issue and the widgets itself is what is causing this, as removing all resource monitoring widgets will "solve" the issue, as Plasma Shell will not use up any memory anymore. Plasma Shell's memory usage will increase by 1-5 mebibytes per minute. Within 3 days without rebooting, Plasma Shell by itself uses more than a GiB of memory. Valgrind reports nothing out of the ordinary besides high memory usage and allocation. EXPECTED RESULT Expected valgrind to output many errors and possibly reports of a memory leak, but nothing seems wrong. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.8.8-arch1-1 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION Display size: 1920 x 1080 GPU: RX 5700 XT RAM: 16GB/15.5GiB I have attached Valgrind logs, but they show nothing wrong. I have also attached journalctl logs.
Created attachment 131653 [details] leak-check=full
Created attachment 131654 [details] leak-check=yes
Created attachment 131655 [details] mem check
Created attachment 131656 [details] Mem info This is just from 4 hours of usage.
As you noted, valgrind isn't showing any memory being lost. Does heaptrack show anything?
Created attachment 131657 [details] Heaptrack
(In reply to David Edmundson from comment #5) > As you noted, valgrind isn't showing any memory being lost. > > Does heaptrack show anything? I attached a screenshot. Heaptrack shows a ton of temporary allocaitons.
Created attachment 131658 [details] Caller/calle tab
Created attachment 131659 [details] Example of widget text disappearing One last attachment, I promise. Just as another example, I added a custom system monitoring widget, and then rebooted my system, and the text is gone. The rate at which Plasma Shell uses memory seems to have increased as well.
Not a bug. It turns out that Firefox was the cause of this, and affected Plasma Shell for some reason.
I take that back. While removing Firefox helped, removing the resource monitoring widgets actually solved the memory issue. I thoroughly believe that the resource monitoring widgets are the cause of the increasing memory usage.
*** This bug has been marked as a duplicate of bug 424636 ***