mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
limit kernel memory
This commit is contained in:
parent
78b2db6282
commit
563b2610d1
1 changed files with 2 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue