Skip to content

Instantly share code, notes, and snippets.

@findepi
Last active October 9, 2019 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save findepi/98ff912fd4af929d4551ebb163fff261 to your computer and use it in GitHub Desktop.
Save findepi/98ff912fd4af929d4551ebb163fff261 to your computer and use it in GitHub Desktop.
# Here are some JVM args that are extremely useful in production when things go wrong
-XX:+G1SummarizeRSetStats
-XX:G1SummarizeRSetStatsPeriod=10
-XX:+PrintAdaptiveSizePolicy
-XX:+PrintJNIGCStalls
-XX:+PrintReferenceGC
-XX:+PrintGCCause
-XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime
#-XX:+LogVMOutput
#-XX:LogFile=/var/log/presto/jvm.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment