GC Handle type not shown when using "Attach To"

Use this forum to discuss and/or suggest future improvements of .NET Memory Profiler and to report bugs.
Post Reply
Posts: 6
Joined: Tue Sep 09, 2008 11:00 pm

GC Handle type not shown when using "Attach To"

Post by bralston7 » Tue Sep 09, 2008 11:03 pm

When I start up an application using MemProfiler, the type of GCHandle gets reported to me in the output (ie. Weak, Pinned, RefCounted). However, when I attach to a already running process, it just reports that it as GCHandle (or <root> sometimes, it seems). Is this a limitation of using "Attach to"


Andreas Suurkuusk
Posts: 1030
Joined: Wed Mar 02, 2005 7:53 pm

Post by Andreas Suurkuusk » Wed Sep 10, 2008 9:29 pm

Yes, this is a limitation when using "Attach to". The profiler cannot retrieve information about GC handles when attaching, it just sees roots. However, by analysing WeakReferences and System.GCHandle, it can deduct that some roots are in fact <GCHandle>s.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests