Only finalizer queue GC roots

I ahve an application that seem to have a lot of memory leaks which is indicated by your profiler as

'Kept in memory only by disposed objects'

When I look at the Object Retention graph it shows 'No GC roots in the current view'

If I uncheck 'Hide finalizer queue GC roots' I can see all of the objects on the finalizer queues.

The only object in the graph that is holding a reference to my form is "system.windows.forms.application+ModalApplicationContext"

I am thinking that this is probably not a memory leak, but the form will disappear from the list when the finalizer is called on the above item.

Am I right, or should I panic now.

Cheers

Trevor

Comments

Sign In or Register to comment.