K
Keith Langer
I have a reference to the MSXML4 library via COM (I need to use this
library for legacy XSLT), and my handle count goes up by 4 each time
an object is created and destroyed.
Here is a simple example that will create the problem (you must add a
reference to MSXML4, or MSXML3 with DOMDocument40 changed to
DOMDocument30)
Sub Main()
Do While True
Dim X As New MSXML2.DOMDocument40
X = Nothing
System.Threading.Thread.Sleep(1000)
Loop
End Sub
Any idea what's going on here? I'm guessing that there is some sort
of "lazy garbage disposal" that may happen at some point, but I'd
prefer not to wait that long.
thanks,
Keith
library for legacy XSLT), and my handle count goes up by 4 each time
an object is created and destroyed.
Here is a simple example that will create the problem (you must add a
reference to MSXML4, or MSXML3 with DOMDocument40 changed to
DOMDocument30)
Sub Main()
Do While True
Dim X As New MSXML2.DOMDocument40
X = Nothing
System.Threading.Thread.Sleep(1000)
Loop
End Sub
Any idea what's going on here? I'm guessing that there is some sort
of "lazy garbage disposal" that may happen at some point, but I'd
prefer not to wait that long.
thanks,
Keith