Bug 390436

Summary: Component "plasmashell", took too much memory
Product: [Plasma] plasmashell Reporter: glewik <glewik>
Component: generic-performanceAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugs.kde.org, glewik, nate, plasma-bugs, RoDo19
Priority: NOR    
Version: 5.12.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Memory leak - example

Description glewik 2018-02-14 08:23:14 UTC
Created attachment 110647 [details]
Memory leak - example

Component "plasmashell", took too much memory. Around after 2 hours I have to make restart computer or kill plasmashell because "plasmashell" using my whole memory.
I use laptop Fujitsu A531 with integral graphic made Intel.
Comment 1 boonhead.nl 2018-02-27 04:50:22 UTC
Hey glewik, my follow bug reporter :)

We might be experiencing the same issue. I have had an issue with plasmashell after upgrading from KDE Neon 5.8 LTS to 5.12 LTS, but I didn't report it yet as I did not have the skill set to investigate deeper and make a bug report with more detail.

Lucky for us, it might be that some smart people are already on it => https://bugs.kde.org/show_bug.cgi?id=368838
As I was searching similar bug reports I came across yours and thought your problem might be the same.

Could you check if your problem goes away if you run the following line in the terminal?

pkill plasmashell; QSG_RENDER_LOOP=threaded kstart plasmashell

It will kill the current plasmashell process, and then restart it using the QSG_RENDER_LOOP set to "threaded".

Upon conclusion, you might want to mark this bug a duplicate of 368838.

Thanx in advance, as your findings will be very helpful.
Comment 2 glewik 2018-03-01 09:10:45 UTC
Hi.

I found what is cause of leak memory. I have one folder with 16000 private pictures and movies. I set this folder like slideshow on my wallpaper.
When I set one picture on my wallpaper I do not have leak memory.
When I set this big folder i have leak memory.
Comment 3 Christoph Feck 2018-03-01 13:00:51 UTC

*** This bug has been marked as a duplicate of bug 368838 ***
Comment 4 bobdon 2022-03-20 17:29:25 UTC
(In reply to boonhead.nl from comment #1)
> Hey glewik, my follow bug reporter :)
> 
> We might be experiencing the same issue. I have had an issue with
> plasmashell after upgrading from KDE Neon 5.8 LTS to 5.12 LTS, but I didn't
> report it yet as I did not have the skill set to investigate deeper and make
> a bug report with more detail.
> 
> Lucky for us, it might be that some smart people are already on it =>
> https://bugs.kde.org/show_bug.cgi?id=368838
> As I was searching similar bug reports I came across yours and thought your
> problem might be the same.
> 
> Could you check if your problem goes away if you run the following line in
> the terminal?
> 
> pkill plasmashell; QSG_RENDER_LOOP=threaded kstart plasmashell
> 
> It will kill the current plasmashell process, and then restart it using the
> QSG_RENDER_LOOP set to "threaded".
> 
> Upon conclusion, you might want to mark this bug a duplicate of 368838.
> 
> Thanx in advance, as your findings will be very helpful.

Running the command "pkill plasmashell; QSG_RENDER_LOOP=threaded kstart plasmashell" has been a big help, if their was only a way to make this run on every login, the problem would be solved. I was using 7.5 GB out of 16 GB, whenever this happened, the only way out was the reset button. Right now plasma is using 289 MB, and I am Krunner, and that is using 113 MB, the system has been up for days so far.
Comment 5 Nate Graham 2023-04-27 20:53:17 UTC
Any chance you can upgrade to Plasma 5.27.5 to see if this is still an issue? Thanks!
Comment 6 Bug Janitor Service 2023-05-12 03:45:58 UTC
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!
Comment 7 Bug Janitor Service 2023-05-27 03:45:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!