Skip to content

Commit 25810a8

Browse files
authored
Exit JVM when OOM (#15538)
1 parent 3640a28 commit 25810a8

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
-XX:+PrintGCDetails
2525
-Xloggc:gc.log
2626

27+
-XX:+ExitOnOutOfMemoryError
2728
-XX:+HeapDumpOnOutOfMemoryError
2829
-XX:HeapDumpPath=dump.hprof
2930

dolphinscheduler-api/src/main/bin/jvm_args_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
-XX:+PrintGCDetails
2525
-Xloggc:gc.log
2626

27+
-XX:+ExitOnOutOfMemoryError
2728
-XX:+HeapDumpOnOutOfMemoryError
2829
-XX:HeapDumpPath=dump.hprof
2930

dolphinscheduler-master/src/main/bin/jvm_args_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
-XX:+PrintGCDetails
2525
-Xloggc:gc.log
2626

27+
-XX:+ExitOnOutOfMemoryError
2728
-XX:+HeapDumpOnOutOfMemoryError
2829
-XX:HeapDumpPath=dump.hprof
2930

dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
-XX:+PrintGCDetails
2525
-Xloggc:gc.log
2626

27+
-XX:+ExitOnOutOfMemoryError
2728
-XX:+HeapDumpOnOutOfMemoryError
2829
-XX:HeapDumpPath=dump.hprof
2930

dolphinscheduler-worker/src/main/bin/jvm_args_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
-XX:+PrintGCDetails
2525
-Xloggc:gc.log
2626

27+
-XX:+ExitOnOutOfMemoryError
2728
-XX:+HeapDumpOnOutOfMemoryError
2829
-XX:HeapDumpPath=dump.hprof
2930

0 commit comments

Comments
 (0)