GC Root Object - Yes - finalizer queue

Memory profiling for .NET developers

Moderators: Luke Jefferson, StephenC, AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

GC Root Object - Yes - finalizer queue

Postby tomasr » Tue Oct 16, 2012 4:01 pm

What does "Yes - finalizer queue" means in "GC Root Object" column? I get this on my RepositoryService. Does it mean what GC will not dispose this object and I need to handle it by myself?

I move on Column and it gives hint but it is still 100% not clear, you should review the explanation text and make it more simple to understand.
Posts: 2
Joined: Tue Oct 16, 2012 1:29 pm
Location: Lithuania

Postby jessica.ramos » Wed Oct 17, 2012 6:24 pm

Hi Tomas,

Sorry about any confusion. The objects on the finalizer queue are those that are no longer live but have a finalizer method defined. They need to wait for the finalizer method to be called on before they can be picked up by the garbage collector and they wait on the queue until that is done.

That said, the GC will eventually collect the objects on the finalizer queue though it may take an extra garbage collection or two to remove them from memory (you can force a GC by taking a memory snapshot).
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm

Return to ANTS Memory Profiler 7

Who is online

Users browsing this forum: No registered users and 1 guest