set max tasks per worker to see if it helps with memory