memory leak in delete from compare

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
jgustavo
Junior Member
Junior Member
Posts: 9
Joined: 2007-04-01, 14:41 UTC

memory leak in delete from compare

Post by *jgustavo » 2014-01-01, 02:35 UTC

Totalcmd uses a lot of memory, in the order of 8GB (I have 8GB) when I delete files, after making a comparison between two folders with many files. and crash.

I have folders with subfolders, with tens or hundreds of thousands of files.
comparisons do daily or even several times a day.
I'm doing some tests with software, and when the test fails again I leave the system as it was, so I compare the files and delete those that are different.

I sometimes have to 1000-10000 files with differences, and select all to delete, it does VERY slowly, like 20 or 30 files per second and reaches 8GB of memory usage in a minute.

the disc is a ssd.
deleting files with F8 usually deletes about 20,000 files per second.

test in tcm801 32 and 64 and tcm8.50 beta 14 32 and 64
in 32bits use 3,5GB and crash

I can record a video if necesary

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2014-01-02, 14:31 UTC

This isn't a memory leak, it's caused by a bug in Windows which cannot delete individual files from multiple directories to recycle bin. You can use Shift+Del to bypass recycle bin.
Author of Total Commander
http://www.ghisler.com

sambuca
Junior Member
Junior Member
Posts: 16
Joined: 2011-09-30, 10:06 UTC

Post by *sambuca » 2015-10-28, 12:27 UTC

I bumped into this Windows bug as well. I tried to bypass the Recycle Bin, but when I use Shift+Del, nothing happens. It seems I have to go through the menu with "Rightclick" - "Delete Right", for example. Any ideas?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36255
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-10-29, 11:07 UTC

Yes, you need to hold down Shift either when choosing "Delete right", or when clicking on "OK" in the sync confirmation dialog. This will bypass recycle bin.
Author of Total Commander
http://www.ghisler.com

sambuca
Junior Member
Junior Member
Posts: 16
Joined: 2011-09-30, 10:06 UTC

Post by *sambuca » 2015-11-02, 11:55 UTC

Ah, Ok, I will try that. Thanks!

Post Reply