[SciPy-user] shared memory machines
Fri Feb 13 09:00:58 CST 2009
Have put up a new version version of the shared memory ndarrays here:
import sharedmem as shm
arr = shm.empty(...)
arr = shm.ones(...)
arr = shm.zeros(...)
As for the memory leak reported by Gaël previously: This is a bug in
multiprocessing, not in our code. The offending line is 353 in
multiprocessing/forking.py. It shuts down sub-processes abruptly, by
using os._exit for suicide, preventing any clean-up code from executing.
Change this line to "sys.exit(exitcode)" and it works as expected. The
bug has been reported to Jesse Noller.
More information about the SciPy-user