Skip to content

Commit

Permalink
Reduce resources for workers etc, hoping to avoid memory crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Apr 15, 2022
1 parent 45c4576 commit 9cd7c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_pbs_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ async def test_pbs_backend():
c = Config()
c.PBSClusterConfig.scheduler_cmd = "/opt/python/bin/dask-scheduler"
c.PBSClusterConfig.worker_cmd = "/opt/python/bin/dask-worker"
c.PBSClusterConfig.scheduler_memory = "256M"
c.PBSClusterConfig.worker_memory = "256M"
c.PBSClusterConfig.scheduler_memory = "128M"
c.PBSClusterConfig.worker_memory = "128M"
c.PBSClusterConfig.scheduler_cores = 1
c.PBSClusterConfig.worker_cores = 1
c.DaskGateway.backend_class = PBSTestingBackend
Expand Down
4 changes: 2 additions & 2 deletions tests/test_yarn_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ async def test_yarn_backend():
c = Config()
c.YarnClusterConfig.scheduler_cmd = "/opt/python/bin/dask-scheduler"
c.YarnClusterConfig.worker_cmd = "/opt/python/bin/dask-worker"
c.YarnClusterConfig.scheduler_memory = "512M"
c.YarnClusterConfig.worker_memory = "512M"
c.YarnClusterConfig.scheduler_memory = "128M"
c.YarnClusterConfig.worker_memory = "128M"
c.YarnClusterConfig.scheduler_cores = 1
c.YarnClusterConfig.worker_cores = 1

Expand Down

0 comments on commit 9cd7c9e

Please sign in to comment.