Asynchronously Sync dir consumes memory when deleting

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
GreenManHunter
Junior Member
Junior Member
Posts: 2
Joined: 2013-06-13, 18:04 UTC

Asynchronously Sync dir consumes memory when deleting

Post by *GreenManHunter »

On my W7 I synchronize c:\users to an external HD as backup.
I compare asynchronously and synchronize.
On the last synchronization I had a large number of files on the right to be deleted (21000 files out of 210000).
After deleting some thousand files Total Commander (TC) goes slow and the pc goes slow.
I stopped TC and started it again monitoring the memory usage.
TC consumed a little memory during comparison.
Under the deletion TC consumed a lot of memory.
After deleting 5000 files TC used over 1.5 GB of memory and I had to stop TC before my PC was slowed totally down.
Before I had deleted all the files, I had to restart the TC 5-6 times.

My TC version is 8.0 64 bit (2012-05-23)
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3897
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Normal deletion at synchronization will delete to the recycle bin.
With this huge amount of files the recycle bin will easily reach the limit of capacity.
This will at least slow down the whole deletion process.
Don't know about memory consumption.

To avoid the usage of the recycle bin, just press the SHIFT key when clicking at dialog "Are you sure to delete xxx files" or alike.

BTW: You should update TC to 8.01 :)
#5767 Personal license
GreenManHunter
Junior Member
Junior Member
Posts: 2
Joined: 2013-06-13, 18:04 UTC

Post by *GreenManHunter »

Thanks for the hint about the SHIFT key.
I also updated TC to the newest version and tried a sync again.
I deleted over 50000 files in a fraction of the earlyer times :D
And there was NO memory problems.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2GreenManHunter
In newer versions, TC deletes one directory at a time to recycle bin. In older versions, it deleted each file separately. This is a problem because Windows Vista or newer creates a new thread for each delete operation (to recycle bin). Unfortunately it's not possible to pass all files to the delete function, because it then starts deleting the wrong files(!).
Author of Total Commander
https://www.ghisler.com
Post Reply