Bug 472984

Summary: Memory leaks
Product: [Plasma] plasmashell Reporter: pd27 <pd27>
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: grave CC: kde, nate
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pd27@mail.ru 2023-08-04 02:29:45 UTC
SUMMARY
I have 64GB RAM. After 4-5 days system uses around 60-70% of RAM. Killing plasmashell process and dropping cache frees 40-50% of RAM.


STEPS TO REPRODUCE
1. run PC
2. Wait 4-5 days.
3. plasmashell allocates around 40% of RAM. Whole system uses around 70%.
4. kill plasmashell.
5. sync; echo 3 > /proc/sys/vm/drop_caches free ~40% RAM.

OBSERVED RESULT
Every 4 days need killing plasmashell process, sync; echo 3 > /proc/sys/vm/drop_caches, runing plasmashell again for resume normal working.

EXPECTED RESULT
Working without killing plasmashell and erasing memory.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
kernel: 5.14.21-150500.55.7-default (64-bit)

ADDITIONAL INFORMATION
It happens last 4 years.
Comment 1 Nate Graham 2023-08-04 19:05:27 UTC
Are you using any 3rd-party widgets?
Comment 2 pd27@mail.ru 2023-08-05 15:57:31 UTC
(In reply to Nate Graham from comment #1)
> Are you using any 3rd-party widgets?

No.
Only widgets "from the box"? 3 stickers, 3 system info.
Comment 3 pd27@mail.ru 2023-08-05 16:00:10 UTC
Previously I try to avoid this behavior by creating new user. It helped, but not so much, in helped for +-5 months.
Fresh user leaks memory around 8-9-10 days.
Comment 4 pd27@mail.ru 2023-08-05 16:02:23 UTC
This happened from Leap 15.4.
In 15.3 I didn't have this. I could use system 1-2-3 months without reboot and hadn't leaks.
Comment 5 pd27@mail.ru 2023-08-05 16:18:36 UTC
I know - plasmashell run a lot of processes.
How I can find out what exactly process leaks?
Comment 6 Bug Janitor Service 2023-08-20 03:45:22 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-09-04 03:45:23 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!