Skip to content

Instantly share code, notes, and snippets.

@niks551
Created August 16, 2019 19:15
Show Gist options
  • Save niks551/d60ce6a93bca85ee47780dbf05c9ae6c to your computer and use it in GitHub Desktop.
Save niks551/d60ce6a93bca85ee47780dbf05c9ae6c to your computer and use it in GitHub Desktop.
JAVA_GC_ARGS = -Xmx${java.heap} -XX:MetaspaceSize=${java.spaceSize} -XX:MaxMetaspaceSize=${java.spaceSize} -XX:MinMetaspaceFreeRatio=0 -XX:MaxMetaspaceFreeRatio=100 -XX:ReservedCodeCacheSize=${java.codeCache} -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=50 -XX:+UseConcMarkSweepGC -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSScavengeBeforeRemark -XX:ParGCCardsPerStrideChunk=32768 -XX:+CMSParallelInitialMarkEnabled -XX:+CMSEdenChunksRecordAlways -XX:+TieredCompilation -Xverify:none -XX:TieredStopAtLevel=1 -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=maxage=2h,settings=profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment