From 563b2610d1926b28f7535322679e795db600980f Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Fri, 21 Sep 2018 00:13:19 -0500 Subject: [PATCH] limit kernel memory --- docker/execute | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/execute b/docker/execute index e39d33c..cec6d92 100755 --- a/docker/execute +++ b/docker/execute @@ -52,7 +52,8 @@ docker run \ -m 64m \ --network none \ --cpus=".5" \ - --kernel-memory 8m \ + --ulimit nproc=4:4 \ + --kernel-memory 4m \ --rm \ -v $abs:/$file:ro \ -v $dir/executors/python2:/executor_python2:ro \