snapshot comparison

Questions about YourKit .NET Profiler
Post Reply
Meidan
Posts: 1
Joined: Sun Aug 23, 2009 5:14 pm

snapshot comparison

Post by Meidan »

Is it possible to get the stack trace for the allocation of objects created between 2 memory snapshots.
I can the number and size of the objects in the snapshot comparison, but not their stack traces.

Thanks.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: snapshot comparison

Post by Vladimir Kondratyev »

Snapshot comparison doesn't show object stack traces, it shows only statistics about object difference. To solve your task you need:

1) Use version 4.1 of YourKit .NET Profiler http://www.yourkit.com/dotnet/eap/ Allocation recording appear only in this version

2) Start allocation recording http://www.yourkit.com/docs/net41/help/allocations.jsp

3) Explore stacktraces of created objects with help of http://www.yourkit.com/docs/net41/help/ ... _alloc.jsp
Post Reply