Bug 465990

Summary: Plasmashell eats more than 10Go of RAM
Product: [Plasma] plasmashell Reporter: dmidge <quelque_ri1>
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major CC: justin, nate
Priority: NOR    
Version First Reported In: 5.27.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Ram usage as shown by top.
Stacktrace (if usefull)
journalctl output related to plasmashell

Description dmidge 2023-02-18 11:02:54 UTC
Created attachment 156422 [details]
Ram usage as shown by top.

SUMMARY

At the moment, I have my plasmashell process using more than 10Go of RAM, plus the start menu opens but refuse to launch any program. The alt+f2 command works though.

Some extra details that may be useful:
After an unexpected shutdown during an update, I had to fix the system, and reinstalled a couple of programs, including linux that was broken. At reboot, I had this issue with plasmashell so I tried several things:
- reinstall every program that started with plasma-*
- remove the plasma* files in ~/.cache
- delete ~/.config/plasma-workspace

Nothing helped.

STEPS TO REPRODUCE
1. Start the computer
2. Login in SDDM
3. Open the Konsole (with alt+f2) and execute `top`.

OBSERVED RESULT
The `top` command shows that plasmashell has more than 10Go of RAM used, even at startup (and it stays that high during the usage of plasmashell).
Plus, I can't start any application from the start menu (even though the start menu open as expected). The rest of plasmashell seems to work as expected.

EXPECTED RESULT
I expect the RAM consumption to be under 500Mo, like before the upgrade/crash. And to be able to start applications from the start menu.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux 6.1.12-arch1-1 (64-bit)
KDE Plasma Version: 5.27.0-1
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8
Using X11

ADDITIONAL INFORMATION
I will try to provide as much relevant information that I can, don't hesitate to ask for more.
Comment 1 dmidge 2023-02-18 11:03:58 UTC
Created attachment 156423 [details]
Stacktrace (if usefull)
Comment 2 dmidge 2023-02-18 11:06:28 UTC
Created attachment 156424 [details]
journalctl output related to plasmashell
Comment 3 dmidge 2023-02-18 14:53:53 UTC
For some reason, removing all the .config/plasm* did the trick for me.
Comment 4 Justin Zobel 2024-09-02 06:10:13 UTC
Thanks for confirming it was some faulty configuration file. If you do have the issue again, please open another bug report and include the config file information.