Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Investigation of memory usage - Retained size

Moderators: Vladimir Kondratyev, Anton Katilin

Investigation of memory usage - Retained size

Postby valdis.iljuconoks » Wed May 14, 2008 10:28 am

Hi all,

We are currently working on investigation of memory leak and can't really figure out why retained size is calculated like following:

Image

Which is 66%... of which memory?

Image
valdis.iljuconoks
 
Posts: 1
Joined: Wed May 14, 2008 10:12 am

Postby Vladimir Kondratyev » Wed May 14, 2008 1:41 pm

66% of 13950081 (live object size). Please take a look at the top of the view.

Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Tobbe » Fri May 16, 2008 9:25 pm

I dont understand this either, havent given it much thought before using yourkit. If u sum up the the % or values you will get > 100% and > 13950081.
Tobbe
 
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Postby Anton Katilin » Mon May 19, 2008 10:09 am

If u sum up the the % or values you will get > 100% and > 13950081.


This is OK. Summing retained sizes you can easily get > 100%, because same objects can be retained by instances of different classes.

Please find detailed explanation of sizes here:
http://www.yourkit.com/docs/net30/help/ ... /sizes.jsp
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 3 guests