Created
July 30, 2014 02:11
-
-
Save ralph-tice/4900b7ee9559b4a144b8 to your computer and use it in GitHub Desktop.
jvm gc logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-verbose:gc \ | |
-XX:+PrintGCDetails \ | |
-XX:+PrintGCDateStamps \ | |
-XX:+PrintGCTimeStamps \ | |
-XX:+PrintHeapAtGC \ | |
-XX:+PrintTenuringDistribution \ | |
-XX:+PrintGCApplicationStoppedTime \ | |
-XX:+PrintGCApplicationConcurrentTime \ | |
-XX:+UseGCLogFileRotation \ | |
-XX:NumberOfGCLogFiles=5 \ | |
-XX:GCLogFileSize=128K \ | |
-Xloggc:logs/gc.log | |
For production usage you probably should tweak GCLogFileSize and NumberOfGCLogFiles. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment