mem limit
This commit is contained in:
parent
0d7182e169
commit
cc35aa7de2
@ -71,7 +71,7 @@ spawn_cmd = os.environ.get('DOCKER_SPAWN_CMD', "start-singleuser.sh")
|
|||||||
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
|
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
|
||||||
|
|
||||||
# Memory limit
|
# Memory limit
|
||||||
c.Spawner.mem_limit = '42G' # RAM limit
|
c.Spawner.mem_limit = '2G' # RAM limit
|
||||||
#c.Spawner.cpu_limit = 0.1
|
#c.Spawner.cpu_limit = 0.1
|
||||||
|
|
||||||
# Connect containers to this Docker network
|
# Connect containers to this Docker network
|
||||||
|
Loading…
Reference in New Issue
Block a user