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 

DirSizeCalc plug-in extremely suspends my TC from working

 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
NordicAlbino
Junior Member
Junior Member


Joined: 09 Jun 2007
Posts: 36
Location: Norway // Belgium

PostPosted: Tue Jan 01, 2013 4:18 am    Post subject: DirSizeCalc plug-in extremely suspends my TC from working Reply with quote

On my pc with Windows 7, i7-core, 16 GB RAM, I have multiple 2 TB drives with many thousands directories and files on it. I run TC v8.01 x64.

I found the DirSizeCalc plug-in an extremely useful tools to overview my directories and files on a high level. It works well when the directories are not too large. But when I switch to another drive with some other huge directory structure, with also many thousands subdirectories and files in it, my TC suspends working for many full minutes. I hear my pc/drive(s) working and I see it too in the Process Explorer, but the only thing that I can do with TC is waiting. TC shows on top 'Not corresponding'. Then, after a (very) long period of waiting, his work is done and he reacts again. But when I then switch again to one another drive with a same kind of contents, the problem restarts over again. Very annoying...

The strange thing is that I don't use this plug-in frequently but only with self-defined tabs views that I activate when I need them. I also use the plug-in in the preview panel, when I hover over a directory map so it pops up. But even before I do that, the program freezes.

I deactivate this plug-in and everything works fine and fast again, but now I lack the functionality.
My question is: Is there anything I can do to resolve this problem?

Thanks in advance!
_________________
Gudene Må Være Gale... | #67047 - 2 User licences
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7671
Location: Germany

PostPosted: Tue Jan 01, 2013 4:48 am    Post subject: Reply with quote

2NordicAlbino
Did you sort by the size column? In this case please read the FAQ section in the documentation:
http://lefteous.totalcmd.net/tc/docs/dirsizecalc/readme.htm#faq

Im not sure how you use the plugin in the preview pane. There are other plugins which provide folder size calculation in the preview but not DirSizeCalc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 3553
Location: Europe, Aachen

PostPosted: Tue Jan 01, 2013 12:16 pm    Post subject: Reply with quote

NordicAlbino wrote:
I also use the plug-in in the preview panel, when I hover over a directory map so it pops up. But even before I do that, the program freezes.

Do you mean a user defined help text (tool tip) which pops up when the mouse hovered a directory?

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
NordicAlbino
Junior Member
Junior Member


Joined: 09 Jun 2007
Posts: 36
Location: Norway // Belgium

PostPosted: Tue Jan 01, 2013 4:20 pm    Post subject: Reply with quote

@ Lefteous
@ HolgerK

You can find my answers (with some illustrative images) on your questions here: http://home.scarlet.be/cle/X/DirSizeCalc.pdf

Thanks in advance! Wink
_________________
Gudene Må Være Gale... | #67047 - 2 User licences
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7671
Location: Germany

PostPosted: Wed Jan 02, 2013 3:12 pm    Post subject: Reply with quote

2NordicAlbino
Please use the "on demand" option in the plugin settings to prevent automatic loading.

You could also try the limit option. It stops calculation at a user-defined number of files.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NordicAlbino
Junior Member
Junior Member


Joined: 09 Jun 2007
Posts: 36
Location: Norway // Belgium

PostPosted: Thu Jan 03, 2013 2:10 am    Post subject: Reply with quote

@ Lefteous:

Quote:
Please use the "on demand" option in the plugin settings to prevent automatic loading.

I used the excellent TC Plugins Manager (Plugman.exe) from Alexey Torgashin for that purpose.

Quote:
You could also try the limit option. It stops calculation at a user-defined number of files.

I can indeed. But what to do when I want to know the number of maps and files of huge directories? Because that was actually the reason for which I used it.

The solution that I suggested could be a more optimal solution, but I realize very well this is technically far from easy to realize and implement.

Moreover the plug-in works great, but we only have to take in account that it has his limitations when it comes to huge directory structures.

Anyway, thanks for the effort to answer!
By the way: my best wishes for the new year too! Very Happy
_________________
Gudene Må Være Gale... | #67047 - 2 User licences
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7671
Location: Germany

PostPosted: Thu Jan 03, 2013 4:21 am    Post subject: Reply with quote

2NordicAlbino
Quote:
I used the excellent TC Plugins Manager (Plugman.exe) from Alexey Torgashin for that purpose.
Although TC Plugins Manager can open plugin ini files in some cases I'm not sure why you chose this way. The tool that comes with DirSizeCalc (DirSizeCalc.exe) should be more convenient. Are you really sure you set the option correctly?

A happy new year to you! Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NordicAlbino
Junior Member
Junior Member


Joined: 09 Jun 2007
Posts: 36
Location: Norway // Belgium

PostPosted: Thu Jan 03, 2013 7:41 am    Post subject: Reply with quote

@ Lefteous:

Quote:
Although TC Plugins Manager can open plugin ini files in some cases I'm not sure why you chose this way. The tool that comes with DirSizeCalc (DirSizeCalc.exe) should be more convenient. Are you really sure you set the option correctly?

You're right! I wasn't aware of this possibility and utility. My mistake. I should have read the documentation better. Embarassed

So, I did it now and have to admit that now it works much more conveniently for my needs! Very Happy

Thanks a lot for your help and time!
_________________
Gudene Må Være Gale... | #67047 - 2 User licences
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7671
Location: Germany

PostPosted: Fri Jan 04, 2013 1:36 am    Post subject: Reply with quote

2NordicAlbino
You're welcome!

Make sure not to miss the internal commands m_LoadSelOnDemandFields and cm_LoadAllOnDemandFields which can be assigned to buttons or keystrokes. These commands can be used to load all or selected values for 'on demand' fields as in DirSizeCalc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NordicAlbino
Junior Member
Junior Member


Joined: 09 Jun 2007
Posts: 36
Location: Norway // Belgium

PostPosted: Fri Jan 04, 2013 1:52 am    Post subject: Reply with quote

@ Lefteous

Thanks for the good hint! I will certainly use it.

Greetings!
_________________
Gudene Må Være Gale... | #67047 - 2 User licences
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 -> Plugins and addons: devel.+support (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


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group