Skip to content
Snippets Groups Projects
Unverified Commit beef366d authored by Robert Roland's avatar Robert Roland Committed by GitHub
Browse files

Enable the OOM killer (#13681)

Enable the OOM killer, which will allow Docker / Kubernetes / ECS to restart a container when an OOM occurs
parent f285ae89
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,7 @@ chown metabase:metabase $new_db_dir $new_db_dir/* 2>/dev/null # all that fussin
JAVA_OPTS="${JAVA_OPTS} -XX:+IgnoreUnrecognizedVMOptions"
JAVA_OPTS="${JAVA_OPTS} -Dfile.encoding=UTF-8"
JAVA_OPTS="${JAVA_OPTS} -Dlogfile.path=target/log"
JAVA_OPTS="${JAVA_OPTS} -XX:+ExitOnOutOfMemoryError"
JAVA_OPTS="${JAVA_OPTS} -server"
if [ ! -z "$JAVA_TIMEZONE" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment