Bug 442848 - plasmashell is USING excruciating amount of memory.
Summary: plasmashell is USING excruciating amount of memory.
Status: RESOLVED DUPLICATE of bug 442844
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.22.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-23 15:56 UTC by artemis37
Modified: 2021-09-27 16:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
htop (404.40 KB, image/png)
2021-09-23 15:56 UTC, artemis37
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artemis37 2021-09-23 15:56:25 UTC
Created attachment 141828 [details]
htop

SUMMARY: Plasmashell is using too much RAM. It always shows ram usage in range (600,950). Usage stays persistent from boot to shutdown. Might be a memory leak.

STEPS TO REPRODUCE
1. I used htop and cat /proc/meminfo arrived at conclusion that plasmashell is the culprit and it also renders my laptop unreliable as it becomes laggy.
2.  No idea if it is even reproducible. 
3. 

OBSERVED RESULT
https://ibb.co/m06jzk1

EXPECTED RESULT
Already briefed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
 
Operating System: Arch Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7 CPU M 620 @ 2.67GHz
Memory: 3.7 GiB of RAM
Graphics Processor: NVA8
Comment 1 Nate Graham 2021-09-24 19:23:54 UTC
Your screenshot appears to show firefox using 4 GB of RAM, but I can't see plasmashell in there.

What are you doing when the memory climbs?

How long has the plasmashell process been running for?

Do you notice that it leaks memory with every notification? If you disable receiving notifications by enabling Do Not Disturb mode, does the memory leak go away?
Comment 2 artemis37 2021-09-25 12:05:57 UTC
Thanks for the lightening reply. I really appreciate it !
In some thread online, I read that clearing the cache resolved some similar problem so I did do that and after a reboot the exaggerated memory usage decreased to around 7%. Also I changed the compositor settings from openGL 3.1 to openGL 2.0 , Is around 7% alright for plasmashell?  

1.Sorry for the useless screenshot, I must have been sleepy when i took it.
When I hovered the mouse pointer over the taskbar so as for taskbar preview, the ram usage used to increase. More than one tab of dolphin file explorer was enough to spike the usage by 5~6 percent. It all happened cumulatively. As I mentioned the graph flattened nearly around 22%. 

2.When the system booted, the process plasma shell consumed nearly around 3% and with it kept on increasing until the 22-23% maxima.

3.Yes the notifications did sway the memory but so did everything following the few minutes of booting of system. It used to become so snappy that the computer was barely usable.
Comment 3 Nate Graham 2021-09-27 16:33:44 UTC

*** This bug has been marked as a duplicate of bug 442844 ***