Plugins and resource consumption

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Helix751
Senior Member
Senior Member
Posts: 241
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Plugins and resource consumption

Post by *Helix751 »

My question is: Do I have to keep my plugins to a minimum so as to keep available resources?

It's an interesting fact that before opening Lister for the 1st time in a TCmd session, plugins can be deleted/overwritten/updated without problems, BUT after opening Lister, even if a specified plugin was not used, the files become locked, as if the lister modules have loaded in memory.

Does this mean that:

1) Unless the modules are loaded in memory there is no significant memory/resources used by these?
2) All lister modules are loaded at once or just some of them and the others when needed?
3) Are the modules unloaded from memory at some time during the session or the only possible clean-up is a shutdown and restart of TC?
4) Do all the plugin modules behave the same way or WCX modules do never get loaded in memory except temporarily just when used?
5) Do all WDX modules load at once at startup or not?
5) Are WFX modules, in general, pretty much resource hogs or are their requirements rather modest? (yes, it depends on the module's implementation, specifically, but in general terms it'd be an ok answer)
6) Do I have to worry about TC's loading time because of the use of too many plugins?
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

the only possible clean-up is a shutdown and restart of TC?
You can also use cm_UnloadPlugins.

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

Post by *ghisler(Author) »

TC loads lister plugins when they are matching the detect string, in the order in which they appear in the lister plugins configuration dialog. This is needed to determine whether a plugin supports a specific file, if the detect string isn't already giving the clue.

So in general, it's good to make a plugin as small and fast as possible.
Author of Total Commander
https://www.ghisler.com
Post Reply