From 4325e3e0fb48cd98391b470b769341f2ee80e969 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] pricenode: Add JVM flag ExitOnOutOfMemoryError to pricenode.env Add flag that causes the JVM to exit with exit code 3 whenever there is an OutOfMemory exception. --- pricenode/haveno-pricenode.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricenode/haveno-pricenode.env b/pricenode/haveno-pricenode.env index a70fa924..f77a6675 100644 --- a/pricenode/haveno-pricenode.env +++ b/pricenode/haveno-pricenode.env @@ -1 +1 @@ -JAVA_OPTS="" +JAVA_OPTS="-XX:+ExitOnOutOfMemoryError"