DirSizeCalc plug-in extremely suspends my TC from working

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
NordicAlbino
Junior Member
Junior Member
Posts: 58
Joined: 2007-06-09, 17:41 UTC
Location: Norway // Belgium

DirSizeCalc plug-in extremely suspends my TC from working

Post by *NordicAlbino »

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
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

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.
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

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
Make our planet great again
User avatar
NordicAlbino
Junior Member
Junior Member
Posts: 58
Joined: 2007-06-09, 17:41 UTC
Location: Norway // Belgium

Post by *NordicAlbino »

@ 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
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

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.
User avatar
NordicAlbino
Junior Member
Junior Member
Posts: 58
Joined: 2007-06-09, 17:41 UTC
Location: Norway // Belgium

Post by *NordicAlbino »

@ Lefteous:
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.
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! :D
Gudene Må Være Gale... | #67047 - 2 User licences
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2NordicAlbino
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! :-)
User avatar
NordicAlbino
Junior Member
Junior Member
Posts: 58
Joined: 2007-06-09, 17:41 UTC
Location: Norway // Belgium

Post by *NordicAlbino »

@ Lefteous:
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. :oops:

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

Thanks a lot for your help and time!
Gudene Må Være Gale... | #67047 - 2 User licences
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

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.
User avatar
NordicAlbino
Junior Member
Junior Member
Posts: 58
Joined: 2007-06-09, 17:41 UTC
Location: Norway // Belgium

Post by *NordicAlbino »

@ Lefteous

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

Greetings!
Gudene Må Være Gale... | #67047 - 2 User licences
Post Reply