It can be used to get information about the garbage collector, objects in memory, threads and locks, call stacks and more. The details about using it can be find from folowing URL
BTW, you might try force garbage collection (to call GC.Collect() after instance is eliminated.) to solve out of memory problem (it could lower performance).
And it is strongly recommended that your object inherits IDisposable Interface and implements a Dispose Method to explicitly release unmanaged resources
HTH
BTW, you might try force garbage collection (to call GC.Collect() after instance is eliminated.) to solve out of memory problem (it could lower performance).
And it is strongly recommended that your object inherits IDisposable Interface and implements a Dispose Method to explicitly release unmanaged resources
HTH