mem limit

This commit is contained in:
mathematicalmichael 2019-01-15 17:28:20 -07:00
parent 0d7182e169
commit cc35aa7de2

View File

@ -71,7 +71,7 @@ spawn_cmd = os.environ.get('DOCKER_SPAWN_CMD', "start-singleuser.sh")
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
# Memory limit
c.Spawner.mem_limit = '42G' # RAM limit
c.Spawner.mem_limit = '2G' # RAM limit
#c.Spawner.cpu_limit = 0.1
# Connect containers to this Docker network