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.

How to See Surviving Generations While Monitoring

Moderators: Vladimir Kondratyev, Anton Katilin

How to See Surviving Generations While Monitoring

Postby NiceProfiler » Thu Sep 05, 2019 8:12 am

Hi there

I'm currently checking out the YourKit Java Profiler.
I'm used to my IDE's built-in profiler where I can see the so called "Surviving Generations" which might indicate if there is a memory leak if the number of "Surviving Generations" won't remain steady during application execution (constantly increases).
Is there in the YourKit Java Profiler a similar indicator? In the snapshot but as well while monitoring.

Best Regards
NiceProfiler
 
Posts: 2
Joined: Wed Sep 04, 2019 8:52 pm

Re: How to See Surviving Generations While Monitoring

Postby Anton Katilin » Thu Sep 05, 2019 8:37 am

There are different ways to find memory leaks with YourKit Java Profiler. Please start with this Help topic: https://www.yourkit.com/docs/java/help/memory_leaks.jsp

In particular, please consider the "Object generations" feature:
https://www.yourkit.com/docs/java/help/generations.jsp
Anton Katilin
 
Posts: 5825
Joined: Wed Aug 11, 2004 8:37 am

Re: How to See Surviving Generations While Monitoring

Postby Anton Katilin » Thu Sep 05, 2019 8:39 am

Also, if you record object allocations, consider "Object ages":
https://www.yourkit.com/docs/java/help/ages.jsp
Anton Katilin
 
Posts: 5825
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 13 guests

cron

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.