How to See Surviving Generations While Monitoring

Questions about YourKit Java Profiler
Post Reply
NiceProfiler
Posts: 2
Joined: Wed Sep 04, 2019 8:52 pm

How to See Surviving Generations While Monitoring

Post by NiceProfiler »

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
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to See Surviving Generations While Monitoring

Post by Anton Katilin »

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: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to See Surviving Generations While Monitoring

Post by Anton Katilin »

Also, if you record object allocations, consider "Object ages":
https://www.yourkit.com/docs/java/help/ages.jsp
Post Reply