Skip to content
Prev 45989 / 63421 Next

R 3.0.1 : parallel collection triggers "long memory not supported yet"

On May 31, 2013, at 12:14 PM, ivo welch wrote:

            
mclapply uses sendMaster() to send the results (serialized into a raw vector) from the worker back to the parent R session. Apparently your serialized result from one worker is more than 2Gb. The multicore part of parallel currently doesn't support long vectors for the transmission so the result for one worker cannot exceed 2Gb. I'll put long vector support on my ToDo list. In your case you should be able to work around it by disabling pre-scheduling (you may want to do some grouping if you have 30,000 short iterations, though).

Cheers,
Simon