mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 21:28:00 +08:00
[Feature] JVM parameter optimization , related issue #3370
This commit is contained in:
parent
6e656ca109
commit
07a1c0a7b4
@ -65,6 +65,10 @@ if [ "$command" = "api-server" ]; then
|
||||
CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer
|
||||
elif [ "$command" = "master-server" ]; then
|
||||
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
|
||||
HEAP_INITIAL_SIZE=2g
|
||||
HEAP_MAX_SIZE=2g
|
||||
|
Loading…
Reference in New Issue
Block a user