Object Instance Diff Checks

Memory profiling for .NET developers

Object Instance Diff Checks

Postby fratting » Tue Dec 29, 2009 7:08 pm

Is there a "quick" way to compare differences between two snapshots of an object with children? I have an object that gets instanciated, I take a snapshot, an event happens that modifies some of the child references of that object and when I take a second snapshot the object has grown from about 250K to 300K as a result of that event however the object has a large number of references and it's difficult to eyeball the differences to determine what was added that caused the growth. The instance list veiwer also doesn't seem in include the child object sizes themselves. It's like a needle in a haystack. Thanks.
Posts: 3
Joined: Tue Dec 29, 2009 7:01 pm

Postby Brian Donahue » Mon Jan 04, 2010 3:23 pm

Hi Chris,

There is no way to compare the size with children on a particular instance of an object in the ANTS Memory Profiler, so it wouldn't be possible to track one particular instance of an object. There may be an alternative to looking at this one statistic, though. I'll see if I can get in touch with the Memory Profiler usability person and see what he thinks.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 10:48 am

Postby Chris.Allen » Wed Jan 06, 2010 6:53 pm

You might find it helpful to look at the "Class Reference Explorer" for each instance. You'll see a picture of the children of the object in question which you can compare visual. Its not ideal for what you want, I know, but it might help.
Posts: 579
Joined: Thu Mar 12, 2009 4:17 pm

Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: jessica.ramos and 0 guests