Skip to content
Prev 298637 / 398498 Next

multicore, mclapply memory problem

On 29/06/2012 07:59, Fabrice Tourre wrote:
Well, actually it does this automatically ....

On a decent OS (despite the posting guide, you did not tell us yours), 
forking will share pages between the forked copies until the page is 
changed.  So in particular any large R objects created before forking 
will remain shared between the worker processes.

And BTW, package multicore was superseded by parallel last year.