limit kernel memory

This commit is contained in:
Brian Seymour 2018-09-21 00:13:19 -05:00
parent 78b2db6282
commit 563b2610d1
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ docker run \
-m 64m \ -m 64m \
--network none \ --network none \
--cpus=".5" \ --cpus=".5" \
--kernel-memory 8m \ --ulimit nproc=4:4 \
--kernel-memory 4m \
--rm \ --rm \
-v $abs:/$file:ro \ -v $abs:/$file:ro \
-v $dir/executors/python2:/executor_python2:ro \ -v $dir/executors/python2:/executor_python2:ro \