Add JVM flag ExitOnOutOfMemoryError

Add flag that causes the JVM to exit with exit code 3 whenever there is an OutOfMemory exception.
This commit is contained in:
alkum 2022-05-31 11:46:09 +02:00 committed by GitHub
parent ad15fcd5c4
commit 4d35ed9132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1 @@
JAVA_OPTS=""
JAVA_OPTS="-XX:+ExitOnOutOfMemoryError"