pmap memory leak 10818 Closed denizyuret opened this Issue on Apr 14, 2015 ยท 2 comments Projects None yet Labels parallel Milestone No milestone Assignees No one assigned 4 participants denizyuret timholy amitmurthy ViralBShah Notifications denizyuret denizyuret commented on Apr 14, 2015 The code below leaks in Version 0.3.7 2015-03-23 21:36 UTC and Version 0.4.0-dev+3718 2015-03-07 21:17 UTC . gc does not seem to help. Replacing pmap with map stops the leak. function main for epoch 1:100 show epoch a helper everywhere gc everywhere println Base.PGRP.refs end end function helper time p pmap workers do w x rand Float32, 1 10, 1 15 end return 0 end main ViralBShah ViralBShah added the parallel label on Apr 14, 2015 timholy The Julia Language member timholy commented on Apr 14, 2015 3934, 8912, 6597 amitmurthy The Julia Language member amitmurthy commented on Apr 22, 2015 Thanks to vtjnash 's fix 3bbc5fc memory usage reaches a steady high state quite soon and does not keep growing when tested with the following code julia -p 2 : function main for epoch 1:100 show epoch a helper everywhere gc end end function helper time p pmap workers do w x ones 10 8 end return 0 end main The resident memory after 100 loops for the master is around 4.5G and for the workers around 800 MB each. That is probably a different issue. Closing this issue. amitmurthy amitmurthy closed this on Apr 22, 2015 timholy timholy referenced this issue on Apr 23, 2015 Closed Memory issue in pmap? 3934