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

zhongjiajie pushed a commit to branch 3.2.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit be58ba69a9de8b5c3240ae0041e2e1e8184c4656
Author: Wenjun Ruan <[email protected]>
AuthorDate: Wed Jan 31 13:59:30 2024 +0800

    Exit JVM when OOM (#15538)
    
    (cherry picked from commit 25810a81dc528feedd81e44f8f57469286c0e8c7)
---
 .../dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh           | 1 +
 dolphinscheduler-api/src/main/bin/jvm_args_env.sh                        | 1 +
 dolphinscheduler-master/src/main/bin/jvm_args_env.sh                     | 1 +
 dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh          | 1 +
 dolphinscheduler-worker/src/main/bin/jvm_args_env.sh                     | 1 +
 5 files changed, 5 insertions(+)

diff --git 
a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
 
b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
index d6ccc3c571..c668944139 100644
--- 
a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
+++ 
b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
@@ -24,6 +24,7 @@
 -XX:+PrintGCDetails
 -Xloggc:gc.log
 
+-XX:+ExitOnOutOfMemoryError
 -XX:+HeapDumpOnOutOfMemoryError
 -XX:HeapDumpPath=dump.hprof
 
diff --git a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
index d6ccc3c571..c668944139 100644
--- a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
@@ -24,6 +24,7 @@
 -XX:+PrintGCDetails
 -Xloggc:gc.log
 
+-XX:+ExitOnOutOfMemoryError
 -XX:+HeapDumpOnOutOfMemoryError
 -XX:HeapDumpPath=dump.hprof
 
diff --git a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
index c831da7ac7..c183f31bb1 100644
--- a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
@@ -24,6 +24,7 @@
 -XX:+PrintGCDetails
 -Xloggc:gc.log
 
+-XX:+ExitOnOutOfMemoryError
 -XX:+HeapDumpOnOutOfMemoryError
 -XX:HeapDumpPath=dump.hprof
 
diff --git a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
index 8bb0a623f9..42f8b1c656 100644
--- a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
@@ -24,6 +24,7 @@
 -XX:+PrintGCDetails
 -Xloggc:gc.log
 
+-XX:+ExitOnOutOfMemoryError
 -XX:+HeapDumpOnOutOfMemoryError
 -XX:HeapDumpPath=dump.hprof
 
diff --git a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
index 8bb0a623f9..42f8b1c656 100644
--- a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
@@ -24,6 +24,7 @@
 -XX:+PrintGCDetails
 -Xloggc:gc.log
 
+-XX:+ExitOnOutOfMemoryError
 -XX:+HeapDumpOnOutOfMemoryError
 -XX:HeapDumpPath=dump.hprof
 

Reply via email to