TXNetFile - Memory Leak?

Hello!

In my code, I repeatedly open/close various TXNetFiles (to read from EOS). Now, it seems like every time I create, open, close and delete one of these files, a large chunk of memory is lost (~60-100 MB virtual memory).

I’m not entirely convinced this an actual bug, since from what I gather, the TXNetSystem does a lot of Data Caching. Is there a way to reset the TXNetSystem and/or free allocated memory?

On the documentation website, there’s a function called TXNetSystem::FreeDirectory - but how do I use it? How do I even get hold of an (the?) instance of the TXNetSystem?

Regards,
Carsten