Skip to content

Commit

Permalink
Exit JVM when OOM (#15538)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun authored Jan 31, 2024
1 parent 3640a28 commit 25810a8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-XX:+PrintGCDetails
-Xloggc:gc.log

-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof

Expand Down
1 change: 1 addition & 0 deletions dolphinscheduler-api/src/main/bin/jvm_args_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-XX:+PrintGCDetails
-Xloggc:gc.log

-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof

Expand Down
1 change: 1 addition & 0 deletions dolphinscheduler-master/src/main/bin/jvm_args_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-XX:+PrintGCDetails
-Xloggc:gc.log

-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-XX:+PrintGCDetails
-Xloggc:gc.log

-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof

Expand Down
1 change: 1 addition & 0 deletions dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-XX:+PrintGCDetails
-Xloggc:gc.log

-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof

Expand Down

0 comments on commit 25810a8

Please sign in to comment.