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.

Moderator: SciTech Software

GC Handle type not shown when using "Attach To"

Postby 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"

Posts: 6
Joined: Tue Sep 09, 2008 11:00 pm
Location: St. Louis, MO - USA

Postby 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
Andreas Suurkuusk
Posts: 995
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden

Return to Future Improvements

Who is online

Users browsing this forum: No registered users and 2 guests

SciTech Software logo

© Copyright 2001-2016. SciTech Software AB
All rights reserved.

SciTech Software AB
Kartvägen 21
SE-175 46 Järfälla

E-mail: mail@scitech.se

Telephone: +46-706868081