From 37ca4ece392a32b8b47d8eb2a70ae3fcb4fee500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Fri, 29 Sep 2023 13:33:49 +0200 Subject: [PATCH] Disable OOM killer for apps with less than 1.5 GB of RAM --- containers/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/docker.go b/containers/docker.go index 1034679..6a9e888 100644 --- a/containers/docker.go +++ b/containers/docker.go @@ -339,7 +339,7 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i } OOMKillDisable := false - if memory < 250 { + if memory < 1500 { OOMKillDisable = true }