This is an automated email from the ASF dual-hosted git repository.
nathanma pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 943247294 [Amoro-2830] Use G1 GC by default (#2831)
943247294 is described below
commit 94324729483cce1206e15ea07db35b451b22fc16
Author: Paul Lin <[email protected]>
AuthorDate: Sun May 12 00:33:50 2024 +0800
[Amoro-2830] Use G1 GC by default (#2831)
Use G1 GC by default
---
amoro-ams/dist/src/main/arctic-bin/bin/ams.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/amoro-ams/dist/src/main/arctic-bin/bin/ams.sh
b/amoro-ams/dist/src/main/arctic-bin/bin/ams.sh
index 6ca20200d..a6678972a 100644
--- a/amoro-ams/dist/src/main/arctic-bin/bin/ams.sh
+++ b/amoro-ams/dist/src/main/arctic-bin/bin/ams.sh
@@ -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 \