[SciPy-user] shared memory machines
Fri Feb 13 11:05:51 CST 2009
Does this work without multiprocessing?
On Fri, Feb 13, 2009 at 7:00 AM, Sturla Molden <firstname.lastname@example.org> wrote:
> Have put up a new version version of the shared memory ndarrays here:
> import numpy
> 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.
> Sturla Molden
> SciPy-user mailing list
More information about the SciPy-user