When I run my function with p_map, it runs just fine. If I run it in my script that has more operations after the call to p_map, it takes a very long time and then I start getting various memory errors.
Is there a way to force it to wait for the processes to finish before continuing on to the next line of code?
Thanks!
When I run my function with p_map, it runs just fine. If I run it in my script that has more operations after the call to p_map, it takes a very long time and then I start getting various memory errors.
Is there a way to force it to wait for the processes to finish before continuing on to the next line of code?
Thanks!