Bug 88550

Summary: memory leak when deleting files (persists even after closing the dialog)
Product: [Applications] kfind Reporter: Stefan Winter <swinter>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: CONFIRMED ---    
Severity: normal CC: jpalecek
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefan Winter 2004-08-31 21:52:18 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs
OS:                Linux

When the search for a term finds a huge amount of files and these are selected and deleted, a large amount of memory gets allocated and never released.
Even when closing kfind the memory keeps allocated, top shows it as belonging to a kdeinit process.
Probably the memory leak is also there when deleting only few files. I only started noticing it after deleting 1000 files and my system started thrashing. Killing -9 that kdeinit process (which grew to >500m) solved it, but that is not a valid solution I guess.
Comment 1 Jiri Palecek 2009-12-20 16:59:28 UTC
Just out of curiosity - how did you manage to delete 1000 files from the kfind dialog? I just tried to reproduce your bug, created 10000 files and now it's deleting like at most 1 file per second, because it creates a notification popup for each file, so it would take hours...
Comment 2 Justin Zobel 2021-03-09 23:51:19 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.