GC Log Analyzer 24.08.0.0
Table of Contents
August 31, 2024
What’s new
GC log Analyzer 24.08.0.0 introduces Periodic NMT logging. With this feature, you can output NMT logs to the NMT output folder periodically. Since periodic NMT logging is a diagnostic feature, you must first unlock diagnostic VM Options using -XX:+UnlockDiagnosticVMOptions
.
To specify the output directory for NMT logs, use -XX:PrintNMTStatisticsRoot=<dir_name>
. Setting this option enables periodic dumping.
To specify the interval for printing the new report to the directory, use -XX:PrintNMTStatisticsAtIntervalSec=<interval in seconds>
. The default value is 10 sec.
Example settings for periodic NMT logging:
java -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:PrintNMTStatisticsRoot=nmt -XX:PrintNMTStatisticsAtIntervalSec=20 Main