Inspecting only newly created objects after memory mark

Questions about YourKit .NET Profiler
Post Reply
i.b.dimitrov
Posts: 1
Joined: Mon Jun 21, 2010 8:11 pm

Inspecting only newly created objects after memory mark

Post by i.b.dimitrov »

Hello,

I'm new to your YourKit profiler and found it is a great tool. However I don't know how to accomplish a particular thing and hope you will help :-)

My question is regarding memory profiling (I'm hunting for memory leaks ;-) )
Is there any way to inspect only newly created objects after a memory mark? My questions is because the profiler reports I have some 40'000 objects of certain type but I have only 35 of them considered to be new (this is in the live view and after I run GC several times). Now if I take a memory snapshot I got a table with so many objects that I just don't know where to start. It would be very nice if I can trace allocations and root path only for them... You know I'm 100% sure they are leaked but I don't know how to find them in those large list of objects.

Do I miss something?

Best Regards,
Ivan Dimitrov
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Inspecting only newly created objects after memory mark

Post by Tobbe »

Sound like a useful feature.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Inspecting only newly created objects after memory mark

Post by Anton Katilin »

Hello Ivan

You can record object allocations:
http://www.yourkit.com/docs/net50/help/allocations.jsp

You will be able to easily identify objects created after allocation recording has been started.

Best regards,
Anton
Post Reply