memory leak in delete from compare

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

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 »

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: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
sambuca
Junior Member
Junior Member
Posts: 16
Joined: 2011-09-30, 10:06 UTC

Post by *sambuca »

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: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
sambuca
Junior Member
Junior Member
Posts: 16
Joined: 2011-09-30, 10:06 UTC

Post by *sambuca »

Ah, Ok, I will try that. Thanks!
Post Reply