Skip to content

Instantly share code, notes, and snippets.

@nielsvanderbeke
Last active January 3, 2016 13:59
Show Gist options
  • Save nielsvanderbeke/8473129 to your computer and use it in GitHub Desktop.
Save nielsvanderbeke/8473129 to your computer and use it in GitHub Desktop.
jvm tuning - rolling gc logs

documentation

jvm parameters

-Xloggc: -XX:-UseGCLogFileRotation -XX:GCLogFileSize=10M

" -XX:+PrintVMOptions -XX:+PrintAdaptiveSizePolicy -XX:AdaptiveSizePolicyOutputInterval=1" " -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc://serve-gc.log -XX:-UseGCLogFileRotation -XX:NumberOfGClogFiles=50 -XX:GCLogFileSize=10M"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment