Skip to content

Commit

Permalink
[Amoro-2830] Use G1 GC by default (apache#2831)
Browse files Browse the repository at this point in the history
Use G1 GC by default
  • Loading branch information
link3280 authored May 11, 2024
1 parent a9a624f commit 9432472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amoro-ams/dist/src/main/arctic-bin/bin/ams.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ source ${CURRENT_DIR}/load-config.sh



JAVA_OPTS="-server -Xloggc:$AMORO_LOG_DIR/gc.log -XX:+PrintGCDateStamps -XX:+IgnoreUnrecognizedVMOptions -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M \
JAVA_OPTS="-server -XX:+UseG1GC -XX:MaxGCPauseMillis=200 \
-Xloggc:$AMORO_LOG_DIR/gc.log -XX:+PrintGCDateStamps -XX:+IgnoreUnrecognizedVMOptions -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M \
-Xms${JVM_XMS_CONFIG}m -Xmx${JVM_XMX_CONFIG}m \
-verbose:gc -XX:+PrintGCDetails \
-Dcom.sun.management.jmxremote \
Expand Down

0 comments on commit 9432472

Please sign in to comment.