List all objects pointing to a specific root

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Posts: 1
Joined: Mon Oct 24, 2011 4:54 pm

List all objects pointing to a specific root

Post by mcessna » Thu Feb 02, 2012 8:15 pm

Is there a way to display [all] objects that point to a specific root and to summarize their total object size?

We have a static varaible in an ASP.NET 2.0 app (.NET Framework 3.5) that is keeping other objects from being freed up, as you might expect. I'm trying to figure out how many objects point to that single root and their total object size, so that we can understand the magnitude of the issue. I searched the message board but didn't find an answer.



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

Re: List all objects pointing to a specific root

Post by Andreas Suurkuusk » Sun Feb 05, 2012 9:00 pm

I'm not sure what information you are looking for. It is not possible for other instances to reference a root, such as a static field. Are you referring to code that are using the static field? Or do you want to know how many instances reference the same instance as the static field refefences?
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 11 guests