This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

memory leak in delete from compare

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.0x bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
jgustavo
Junior Member
Junior Member


Joined: 01 Apr 2007
Posts: 9

PostPosted: Tue Dec 31, 2013 8:35 pm    Post subject: memory leak in delete from compare Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Thu Jan 02, 2014 8:31 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sambuca
Junior Member
Junior Member


Joined: 30 Sep 2011
Posts: 16

PostPosted: Wed Oct 28, 2015 6:27 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Thu Oct 29, 2015 5:07 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sambuca
Junior Member
Junior Member


Joined: 30 Sep 2011
Posts: 16

PostPosted: Mon Nov 02, 2015 5:55 am    Post subject: Reply with quote

Ah, Ok, I will try that. Thanks!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.0x bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group