Module reload overhead?

Each time I run Abner Tagger I see this log message:

"Loading BioCreative tagging module..."

Does this mean it is getting loaded repeatedly? Can't it be cached somehow?



Hi Peleitor,

yes, the model is loaded repeatedly each time a tagger node is executed, and gc’ed after the node is done and next gc is taking place. We will check if model caching is possible and reasonable, since models can be quite big and caching several models might not be a good idea, memory-wise.

Thank you for the hint.

Cheers, Kilian

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.