Potential memory leak: pmap holds head of lazy sequence
leon-barrett opened this issue · 0 comments
leon-barrett commented
Pmap creates a lazy sequence of tasks to be run. It currently holds onto the head of that list so that it can cancel later tasks if there's an exception. That potentially is a memory "leak"--pmap over a lazy sequence will use increasing memory.