Browse Source

[Feature] JVM parameter optimization , related issue #3370

pull/3/MERGE
qiaozhanwei 4 years ago
parent
commit
07a1c0a7b4
  1. 4
      script/dolphinscheduler-daemon.sh

4
script/dolphinscheduler-daemon.sh

@ -65,6 +65,10 @@ if [ "$command" = "api-server" ]; then
CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer
elif [ "$command" = "master-server" ]; then elif [ "$command" = "master-server" ]; then
HEAP_INITIAL_SIZE=4g HEAP_INITIAL_SIZE=4g
HEAP_MAX_SIZE=4g
HEAP_NEW_GENERATION__SIZE=2g
LOG_FILE="-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false"
CLASS=org.apache.dolphinscheduler.server.master.MasterServer
elif [ "$command" = "worker-server" ]; then elif [ "$command" = "worker-server" ]; then
HEAP_INITIAL_SIZE=2g HEAP_INITIAL_SIZE=2g
HEAP_MAX_SIZE=2g HEAP_MAX_SIZE=2g

Loading…
Cancel
Save