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
How long a memory graphs recorded for?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How long a memory graphs recorded for?
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
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
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How long a memory graphs recorded for?
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
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