Skip to content

Instantly share code, notes, and snippets.

@fbsobreira
Last active June 9, 2022 18:44
Show Gist options
  • Save fbsobreira/7d49f7c6d952d91d42653fd88cb5546b to your computer and use it in GitHub Desktop.
Save fbsobreira/7d49f7c6d952d91d42653fd88cb5546b to your computer and use it in GitHub Desktop.
-Xms8g
-Xmx8g
8-13:-XX:+UseConcMarkSweepGC
8-13:-XX:CMSInitiatingOccupancyFraction=75
8-13:-XX:+UseCMSInitiatingOccupancyOnly
14-:-XX:+UseG1GC
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=data
-XX:ErrorFile=logs/hs_err_pid%p.log
8:-XX:+PrintGCDetails
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
8:-Xloggc:logs/gc.log
8:-XX:+UseGCLogFileRotation
8:-XX:NumberOfGCLogFiles=32
8:-XX:GCLogFileSize=64m
9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment