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

How long a memory graphs recorded for?

Moderators: Vladimir Kondratyev, Anton Katilin

How long a memory graphs recorded for?

Postby songsinh » Wed Aug 12, 2015 6:42 am

Hi,

I'm pretty new to yourkit and I just connected to a remote JVM and I noticed it had already been recording memory usage in the graph before I connected the UI. I also noticed that it if I connect/reconnect it also keeps the history. Where is it storing this information and for how long does it keep it? Is it a hidden directory somewhere?

Having the memory usage history is very handy because we are running very long batch jobs and we want to find out if our application uses up all it's memory over time, but I'm worried it might run out of disk space if it writes this information in the wrong location, or additionally if we loose the memory history overnight.

Thanks,

Songsinh
songsinh
 
Posts: 1
Joined: Mon Aug 03, 2015 10:05 am

Re: How long a memory graphs recorded for?

Postby Anton Katilin » Wed Aug 12, 2015 8:08 am

Hello Songsinh

The telemetry information is remembered in the profiler agent memory:
https://www.yourkit.com/docs/java/help/ ... emetry.jsp

The telemetry buffer capacity is 1 hour by default. You can change this with the startup option "telemetrylimit".
https://www.yourkit.com/docs/java/help/ ... ptions.jsp

Please also consider the option "telemetryperiod".

Best regards,
Anton
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: How long a memory graphs recorded for?

Postby Anton Katilin » Wed Aug 12, 2015 8:13 am

An update:

You may make the telemetry buffer bigger with "telemetrylimit", but it will always be finite. To ensure no information is lost you may capture snapshots periodically:
https://www.yourkit.com/docs/java/help/periodic.jsp

Snapshots are stored in the snapshot directory:
https://www.yourkit.com/docs/java/help/snapshot_dir.jsp
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 10 guests