From 4d35ed9132ee96cfc1638b7602bafdf4547d6049 Mon Sep 17 00:00:00 2001 From: alkum <98610826+alkum@users.noreply.github.com> Date: Tue, 31 May 2022 11:46:09 +0200 Subject: [PATCH] Add JVM flag ExitOnOutOfMemoryError Add flag that causes the JVM to exit with exit code 3 whenever there is an OutOfMemory exception. --- pricenode/bisq-pricenode.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricenode/bisq-pricenode.env b/pricenode/bisq-pricenode.env index a70fa924c0..f77a6675c4 100644 --- a/pricenode/bisq-pricenode.env +++ b/pricenode/bisq-pricenode.env @@ -1 +1 @@ -JAVA_OPTS="" +JAVA_OPTS="-XX:+ExitOnOutOfMemoryError"