Moving the .Net assembly to your own AppDomain so that you can unload the module periodically can help if there are leaks due to the fact that they hang on object references for too long, but most of the memory leak situations I encountered. Pure managed code does not actually allow unmanaged resource handles to be freed โ releasing descriptors, closing files, closing network connections, etc.
If the resources belong to a responsible .Net managed object that frees its unmanaged descriptors in IDispose.Close (), but some backbone code does not call IDispose.Close when it suggested, forcing a GC loop or unloading the AppDomain assembly can help return these lost unmanaged resources by "acceleration" of the possible disposal of GC-owned managed objects.
, , AppDomain .
Windows, , , . , GC AppDomain , .NET .NET, . , , . , . , , .
. , , , AppDomain .