Use this forum to discuss and/or suggest future improvements of .NET Memory Profiler and to report bugs.
- Posts: 6
- Joined: Tue Sep 09, 2008 11:00 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: 1029
- Joined: Wed Mar 02, 2005 7:53 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.
SciTech Software AB
Users browsing this forum: No registered users and 1 guest