How to identify unrefferenced object in Garbage Collection is there any algorithm for that?
identify unrefferenced object in GC
Collapse
X
-
Tags: None
-
If you have MS Visual Studio you should be able to identify all created objects in the locals and immediate windows when you step through your code.Originally posted by raghulvarmaHow to identify unrefferenced object in Garbage Collection is there any algorithm for that?
I do not know of any code that will print out unused or GC objects though. There may be something in IIS administrative capabilities to spot such objects.
If you step through code to determine though you can just make sure all objects are Set Object1 = Nothing at the end of all execution (ensuring to re-dim when necessary).
Sorry that I couldn't help more...
Comment