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
How to See Surviving Generations While Monitoring
-
- Posts: 2
- Joined: Wed Sep 04, 2019 8:52 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How to See Surviving Generations While Monitoring
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
In particular, please consider the "Object generations" feature:
https://www.yourkit.com/docs/java/help/generations.jsp
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How to See Surviving Generations While Monitoring
Also, if you record object allocations, consider "Object ages":
https://www.yourkit.com/docs/java/help/ages.jsp
https://www.yourkit.com/docs/java/help/ages.jsp