Memory leak appears only when multiprocessing
Posted
by Sandro
on Stack Overflow
See other posts from Stack Overflow
or by Sandro
Published on 2010-04-24T20:13:48Z
Indexed on
2010/04/24
20:23 UTC
Read the original article
Hit count: 305
I am trying to use python's multiprocessing library to hopefully gain some performance. Specifically I am using its map function. Now, for some reason when I swap it out with its single threaded counterpart I don't get any memory leaks over time. But using the multiprocessing version of map causes my memory to go through the roof. For the record I am doing something which can easily hog up loads of memory, but what would the difference be between the two to cause such a stark difference?
© Stack Overflow or respective owner