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

Differe Memory Footprint and "Default Pkg" Retaine

Moderators: Vladimir Kondratyev, Anton Katilin

Differe Memory Footprint and "Default Pkg" Retaine

Postby ravi » Tue May 31, 2005 7:08 pm


I have a basic question - I am kind of new to this tool. Ours is a standalone Java app running on a windows 2k desktop. When I take a snapshot using YourKit latest tool, the total Retained Size under "Default Package" on All Objects view is about 48 MB. But this app takes 222 MB when I lookup in Task Manager Process Memory size on windows 2000 professional.

Is it possible to have some correlation between what task manager and YourKit tool show ?

Posts: 1
Joined: Tue May 31, 2005 6:58 pm

Windows Task Manager Mem Usage & YourKit Heap memory

Postby Greg » Wed Jun 15, 2005 2:01 pm

I am using YourKit Profiler 4.5 EAP build 610, on a Windows XP machine. The Windows Task Manager Processes Tab contains an entry for the Java Application I am profiling has a "Mem Usage" value of 75,000K. But the "Telemetry" tab of the YourKit GUI indicates that the "Heap memory" for this same process is 5.2MB (Used memory) and 8.4 (Total memory). The "Non heap memory" values are 8.5MB (Used memory) and 10.9 (Total memory) respectively. I don't understand why the Windows Task Manager and YourKit are displaying significantly different values.
Posts: 1
Joined: Wed Jun 15, 2005 1:49 pm

Postby Vladimir Kondratyev » Wed Jun 15, 2005 5:52 pm

YourKit Java Profiler uses JVM API to get heap and non-heap memory usage. If these values do not reflect reality, perhaps, it's better to ask Sun's guys? :)

I can assume that JVM itself uses some memory for internal purposes and this amount of memory is not reported via API. For example, it could be HotSpot's internal data, loaded and precompiled classes, etc

Vladimir Kondratyev
Vladimir Kondratyev
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby rblasch » Thu Jun 16, 2005 4:42 pm

These memory numbers may look simple, but one has to know quite a number of things, to make any sense of them.

Here's a pointer to get you started. http://www-128.ibm.com/developerworks/library/j-memusage/

Enjoy your memory while it lasts,
Posts: 64
Joined: Mon Jan 10, 2005 7:13 pm
Location: Salzburg, Austria

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.