0
Answer

Handle DLL (COM) with memory leak in VB.NET

Hugh Ng

Hugh Ng

15y
3k
1

Hello all,

I have a COM DLL that have memory leak but do not have control over the source code of that DLL. Basically, I have to use that DLL and need to find away to hanle the memory leak. I already try to use Marshal Release and ReleaseComObject but it does not release the memory taken by this DLL. When I run this DLL for a while, it fill up all the virtual memory and eventually crashed. What can I do to resolve this problem?

Thank you very much for your help.

 

Hugh

Next Recommended Forum