Created
June 11, 2018 06:01
-
-
Save abhilater/b2c0781489f53717a607d6f36e9c7ed8 to your computer and use it in GitHub Desktop.
[jvm] JVM commands #jvm
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
# GC logging options | |
time java -Xms4G -Xmx4G -XX:+UseParallelOldGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps AL | |
time java -Xms4G -Xmx4G -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps AL | |
time java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps AL | |
java -Xmx100m -XX:NewSize=10m -XX:+PrintGCDetails -XX:+HeapDumpBeforeFullGC -XX:+PrintHeapAtGC AL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment