Skip to content

Commit aeb612b

Browse files
authored
Add more margin for Dask memory test (#704)
1 parent ba63f80 commit aeb612b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_raster/test_distributing_computing/test_dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _estimate_subsample_memusage(darr: da.Array, chunksizes_in_mem: tuple[int, i
9797
# Final estimate of memory usage of operation in MB
9898
max_op_memusage = fac_dask_margin * (chunk_memusage + sample_memusage + out_memusage + meta_memusage) / (2**20)
9999
# We add a base memory usage of ~130 MB + 10MB per 1000 chunks (loaded in background by Dask even on tiny data)
100-
max_op_memusage += 130 + 10 * (num_chunks / 1000)
100+
max_op_memusage += 150 + 10 * (num_chunks / 1000)
101101

102102
return max_op_memusage
103103

0 commit comments

Comments
 (0)