Finding out why an object did not dispose

  • Thread starter Thread starter wbekker
  • Start date Start date
W

wbekker

Hi,

We have a system with quite a lot references between objects. One of the
objects does not dispose, but i am not able to find out why.

Probably this is because of a live reference to the object. What is a
fast / practical way of finding out which reference keeps it from disposing?

Bye,

Ward
 
wbekker said:
Hi,

We have a system with quite a lot references between objects. One of the
objects does not dispose, but i am not able to find out why.

dispose? do you mean garbage-collected?
Probably this is because of a live reference to the object. What is a
fast / practical way of finding out which reference keeps it from
disposing?

Use the "CLRProfiler" downloadable from microsoft, it's a really nice tool.
 
Not sure if you are seeing what I'm also seeing, see my recent post "Not
axactly a memory leak but can be bad"
 
Back
Top