Hi all,
I have a VB.NET Dll that is invoked via BizTalk 2002 AIC over Http
protocol.
the Dll is making a connection using a 3rd party connector to a Unidata
database (old legacy stuff) All I am doing is creating an instance of
the class and then using its two methods (Connect CloseConnection )
and then setting the instance to Nothing.
However I am experiencing a big memory leak when I run stress test on
my DLL (the DLLHOST.EXE for the particular DLL goes up and up until it
crashes the server)
I have researched Garbage collector and used it but it doesnt help...
Here Is my code
Dim moudconn As New CUniData
moudconn.Connec t(strResult)
moudconn.CloseC onnection()
moudconn = Nothing
GC.Collect()
Dispose()
Can anybode see anything I am doing wrong??
I have a VB.NET Dll that is invoked via BizTalk 2002 AIC over Http
protocol.
the Dll is making a connection using a 3rd party connector to a Unidata
database (old legacy stuff) All I am doing is creating an instance of
the class and then using its two methods (Connect CloseConnection )
and then setting the instance to Nothing.
However I am experiencing a big memory leak when I run stress test on
my DLL (the DLLHOST.EXE for the particular DLL goes up and up until it
crashes the server)
I have researched Garbage collector and used it but it doesnt help...
Here Is my code
Dim moudconn As New CUniData
moudconn.Connec t(strResult)
moudconn.CloseC onnection()
moudconn = Nothing
GC.Collect()
Dispose()
Can anybode see anything I am doing wrong??
Comment