Disable OOM killer for apps with less than 1.5 GB of RAM
This commit is contained in:
parent
072a643c1d
commit
37ca4ece39
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user