Skip to content

Instantly share code, notes, and snippets.

@turf00
turf00 / gc-enable.md
Last active Oct 19, 2017
GC Detailed Logging to file
View gc-enable.md

Enable GC detailed logging to a file, max size 5M, max number of files 10.

File will be labelled .0 to .x depending on the number of files.

-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps
-XX:+PrintTenuringDistribution 
-XX:+PrintGCCause