tash lai
04/14/2021, 1:42 PM@task
def donothing(x):
pass
with Flow('useless') as flow:
lst = list(range(4000))
donothing.map(lst)
flow.executor = DaskExecutor('<tcp://localhost:8786>')
dask-worker --nthreads=50
Thing is the worker quickly eats up a lot of memory with each mapped task run, up to a gigabyte at the end of the flow, and that memory is not cleared when the flow finishes. The project i'm working on implies running up to ~100000 io-heavy tasks, so seeing this i'm a little worried that prefect might not be a right tool for the job. But maybe it's me doing something wrong?Kevin Kho
tash lai
04/14/2021, 2:24 PMtash lai
04/14/2021, 2:25 PMJeremiah
tash lai
04/14/2021, 2:37 PMZanie