Red Gate forums :: View topic - Instance retention graph -> Show all paths to root
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 8
ANTS Memory Profiler 8 forum

Instance retention graph -> Show all paths to root

Search in ANTS Memory Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
tdrtech



Joined: 24 Jul 2014
Posts: 1

PostPosted: Thu Jul 24, 2014 3:16 pm    Post subject: Instance retention graph -> Show all paths to root Reply with quote

Hello,

The instance retention graph only shows the shortest path to a root node. This is also documented:

"The instance retention graph only shows the shortest chain of references from each GC root to your selected object. When you break this chain of references, the object may still be kept in memory by a longer chain of references.
After you have modified your code to break the first chain of references, profile your application again; the instance retention graph updates to show the chain of references which is now the shortest chain. You will need to modify your code again, to break this chain of references, and repeat until all the chains of references are broken and the object is no longer in memory.
"

However, I would like to see all paths that lead from a node to a root node. Is that possible?

Regards
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 235

PostPosted: Fri Jul 25, 2014 5:27 pm    Post subject: Reply with quote

Hi there,

Thanks for your post!

>> However, I would like to see all paths that lead from a node to a root node. Is that possible?

It's not possible with the instance retention graph for individual instances of an object, I'm afraid, but have you tried looking at the instance categorizer?

There's an "All references view" that you might find useful - http://documentation.red-gate.com/display/AMP8/The+instance+categorizer

Kind regards,

Jessica Ramos
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group