|
|
@ -21,7 +21,7 @@ DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)} |
|
|
|
|
|
|
|
|
|
|
|
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh" |
|
|
|
source "$DOLPHINSCHEDULER_HOME/conf/dolphinscheduler_env.sh" |
|
|
|
|
|
|
|
|
|
|
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"} |
|
|
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -Xms1g -Xmx1g -Xmn512m -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"} |
|
|
|
|
|
|
|
|
|
|
|
if [[ "$DOCKER" == "true" ]]; then |
|
|
|
if [[ "$DOCKER" == "true" ]]; then |
|
|
|
JAVA_OPTS="${JAVA_OPTS} -XX:-UseContainerSupport" |
|
|
|
JAVA_OPTS="${JAVA_OPTS} -XX:-UseContainerSupport" |
|
|
|