Re: [Rd] mclapply memory leak?

2015-09-03 Thread Simon Urbanek
Toby, > On Sep 2, 2015, at 1:12 PM, Toby Hocking wrote: > > Dear R-devel, > > I am running mclapply with many iterations over a function that modifies > nothing and makes no copies of anything. It is taking up a lot of memory, > so it seems to me like this is a bug. Should I post this to > bugs

Re: [Rd] mclapply memory leak?

2015-09-03 Thread Toby Hocking
right, it is not a memory leak, sorry for the misleading subject line. the problem is the fact that the memory usage goes up, linearly with the length of the first argument to mclapply. in practice with large data sets this can cause the machine to start swapping, or to have my cluster jobs killed