Re: [Bioc-devel] Trying to reduce the memory overhead when using mclapply

2013-11-14 Thread Ryan
The minimize the additional memory used by mclapply, remember that mclapply works by forking processes, and the advantage of this is that as long as an object is not modified in either the parent or child, they will share the memory for that object, which effectively means that a child process

Re: [Bioc-devel] Trying to reduce the memory overhead when using mclapply

2013-11-14 Thread Martin Morgan
On 11/14/2013 12:13 AM, Leonardo Collado Torres wrote: Dear BioC developers, I am trying to understand how to use mclapply() without blowing up the memory usage and need some help. My use case is splitting a large IRanges::DataFrame() into chunks, and feeding these chunks to mclapply(). Let