You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using the default spawn of multiprocessing, we use fork to solve issue described this SO.
# we are doing it now
if platform == 'darwin':
set_start_method("fork")
However, using fork may cause memory leak issue and segmentation fault ( #21 ). It seems more preferable using process pool and we don’t need to use fork.
The text was updated successfully, but these errors were encountered:
Instead of using the default
spawn
of multiprocessing, we usefork
to solve issue described this SO.However, using
fork
may cause memory leak issue and segmentation fault ( #21 ). It seems more preferable using process pool and we don’t need to use fork.The text was updated successfully, but these errors were encountered: