S
Sebastiaan Olijerhoek
Garbage collection in .NET works fine. But as soon as two objects have
strong references to eachother (e.g. if you add an eventhandler) then the
references must be destroyed manually (e.g. in the Dispose methode) before
the garbage collection will remove the objects.
For the older C++ compilers which didn't have garbage collection tool were
available to check on memory leakages.
But is a tool or functionality within the framework available to back track
which objects refer to which and can't be reached by the main root?
Kind regards,
Sebastiaan.
strong references to eachother (e.g. if you add an eventhandler) then the
references must be destroyed manually (e.g. in the Dispose methode) before
the garbage collection will remove the objects.
For the older C++ compilers which didn't have garbage collection tool were
available to check on memory leakages.
But is a tool or functionality within the framework available to back track
which objects refer to which and can't be reached by the main root?
Kind regards,
Sebastiaan.