This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new e7444d2  KYLIN-4609 setenv.sh add zgc config for big memory
e7444d2 is described below

commit e7444d26d2c3b9e1a91e89d6a5d7a6a5cfbe357e
Author: chuxiao <chux...@didichuxing.com>
AuthorDate: Tue Jun 30 14:07:20 2020 +0800

    KYLIN-4609 setenv.sh add zgc config for big memory
---
 build/conf/setenv.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build/conf/setenv.sh b/build/conf/setenv.sh
index 314b9a2..fa34d12 100755
--- a/build/conf/setenv.sh
+++ b/build/conf/setenv.sh
@@ -30,6 +30,9 @@ export MALLOC_ARENA_MAX=${MALLOC_ARENA_MAX:-4}
 
 # export KYLIN_JVM_SETTINGS="-Xms16g -Xmx16g -XX:MaxPermSize=512m 
-XX:NewSize=3g -XX:MaxNewSize=3g -XX:SurvivorRatio=4 
-XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled 
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
-XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly 
-XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -verbose:gc 
-XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$KYLIN_HOME/logs/kylin.gc.%p 
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFi [...]
 
+# for jdk version not less than 13 
+# export KYLIN_JVM_SETTINGS="-Xms50g -Xmx50g -XX:+UnlockExperimentalVMOptions 
-XX:+UseZGC -XX:+HeapDumpOnOutOfMemoryError -verbose:gc 
-Xlog:gc*:$KYLIN_HOME/logs/kylin.gc.`date +'%Y%m%d%H%M'` -XX:+PrintFlagsFinal"
+
 # uncomment following to for it to take effect(the values need adjusting to 
fit your env)
 # export KYLIN_DEBUG_SETTINGS="-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false"
 

Reply via email to