Bug 485663 - Plasmashell memory leak when moving many files from one directory to another
Summary: Plasmashell memory leak when moving many files from one directory to another
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (other bugs)
Version First Reported In: 5.27.11
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 08:06 UTC by Florian Mann
Modified: 2025-06-15 03:47 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
~/.config/plasmashellrc (1.64 KB, text/plain)
2024-04-17 08:06 UTC, Florian Mann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Mann 2024-04-17 08:06:03 UTC
Created attachment 168604 [details]
~/.config/plasmashellrc

SUMMARY

I moved approx. 10000 files from one directory to another. The baloo file indexer was using a lot of cpu and memory resources, so I killed it manually.
Since then the plasmashell process is leaking memory. Memory consumption grows about 1G per minute until the systems hangs eventually.

Things I tried:

- Restarting plasmashell
- Reboot
- Deleted the approx. 10000 files which started the problem
- Update from 5.27.10 to 5.27.11
- balooctl disable
- balooctl purge

Plasmashell is still leaking memory after every single step.

STEPS TO REPRODUCE
1. Move >10000 files
2. Observe plasmashell memory consumption

OBSERVED RESULT
Memory consumption of plasmashell grows about 1GB per minute

EXPECTED RESULT
Stable memory consumption

SOFTWARE/OS VERSIONS
Kernel Version: 6.6.26-1-MANJARO
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Graphics Platform: Wayland

ADDITIONAL INFORMATION

I'll provide whatever information necessary. At the moment I don't know where to start.
Comment 1 waclaw66 2024-11-20 06:37:35 UTC
I'm having this issue after update to Fedora 41 using X11. plasmashell, org_kde_powerdevil and kded6 consuming all the memory (32GB) within two days.
Comment 2 Nate Graham 2025-05-16 15:26:57 UTC
Thanks again for the bug report, and sorry we weren't able to look into this yet. A lot of things have changed since this was reported; can I ask you to see if the problem still happens at all in Plasma 6.3.5 or later? Or if you can, the Plasma 6.4 beta would be even better.

If you can still reproduce it in either of those versions, can you comment on how you moved the files; from where to where, and from which source app to which destination app? (for these purposes, Plasma counts as an app too).

Thanks a lot!
Comment 3 Bug Janitor Service 2025-05-31 03:47:39 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-06-15 03:47:33 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.