swansonk14 / p_tqdm

Parallel processing with progress bars
MIT License
457 stars 44 forks source link

P_map not waiting for processes to finish before moving on and crashing due to a memory error #41

Open chris99336 opened 2 years ago

chris99336 commented 2 years ago

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!

chris99336 commented 2 years ago

I just wanted to add an update. The progress bar and everything seems to work perfectly for me in JupyterLab. The issues I was having were in Spyder. I would still like to know if there is an answer to my question, but as it is, at least I can move forward.