start function in new process

wongjoekmeu at wongjoekmeu at
Fri Mar 5 20:45:53 CET 2010

On 5 mrt, 20:40, "Martin P. Hellwig" <martin.hell... at>
> On 03/05/10 19:21, wongjoek... at wrote:
> <cut os.fork problem>
> Any specific reason why threading.Thread or multiprocessing is not
> suitable to solve your problem?
> --
> mph

Because I got a memory leak in my function f(). It uses scipy, numpy,
pylab, and I am not planning to solve the memory leak because its too
complicated. So I thought of just calling the function then when it is
finished the process is gone and all memory is released. With
threading I don't think I would solve this problem. I am not sure

More information about the Python-list mailing list