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.

Problems with large (~480 meg) .memory capture

Moderators: Vladimir Kondratyev, Anton Katilin

Problems with large (~480 meg) .memory capture

Postby Papa Smurph » Fri Oct 08, 2004 6:52 pm

I'm trying out YourKit with my rather large application. In one case, I need to look at memory usage when an OutOfMemory error occurs when using -Xmx512m. I've had quite a hard time doing this however, for two reasons:

1) My application is using ~600 meg of memory (according to windows task manager). I start yourkit and take a memory capure. The memory usage of the total machine climbs from ~800 meg (my application and the OS and other junk) to ~1.8 Gig of memory. I had to increase the VM setting on my machine because I only have 1 GB of physical RAM! Also, the capture took maybe 30 minutes, I would guess in large part because of the disk swapping that occurred.

2) Examining that memory capure required passing yourkit an -Xmx1024m (I tried 768m but that was not enough). This is not too bad, but smaller would be better. :D The real problem here is that expanding the memory usage tree takes _much_ too long. Opening the package where 95% of the memory usage was, which has ~55 classes took between 5 and 10 minutes!
Papa Smurph
 
Posts: 7
Joined: Fri Oct 08, 2004 6:39 pm

Forgot to say...

Postby Papa Smurph » Fri Oct 08, 2004 6:55 pm

I forgot to add that I'm using build 431 of YourKit.
Papa Smurph
 
Posts: 7
Joined: Fri Oct 08, 2004 6:39 pm


Return to Java Profiler

Who is online

Users browsing this forum: No registered users 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.