| September 09, 2008 05:37:36 |
#3 |
| Aldo John |
Member Since: September 2008 Total Comments: 4 |
RE: Does Garbage Collection disposes a object even if you abort the application in the middle? How to check this? |
| Garbage Collector runs as a seperate thread in the .NET runtime and not in the application we create. Even if the application crashes, GC will collect all the memory occupied by your program as there is no reference to those objects. To check if it is collected or not, you can try some CLR monitoring tools...like CLR Profiler...But its a hard job...most probably you will not need that..!! |
| |