[R] Using R in parallel on a 2 processor machine

Andy Bunn abunn at whrc.org
Mon Nov 15 15:34:21 CET 2004


How about installing an operating system that knows its way around that much
RAM?

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Graham Law
> Sent: Monday, November 15, 2004 9:12 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Using R in parallel on a 2 processor machine
>
>
> Hi,
>
>
>
> I have installed R (2.0.0) onto a two processor machine running Windows
> XP (these two processors have been split into 4 logical processors),
> with 4Gb of RAM.  Rather than multi-threading, I wanted to run 2
> instances of R on the machine in parallel, which uses two of the logical
> processors.  Unfortunately, R seems to be accessing a total of 1Gb of
> RAM, not taking advantage of 2 lots of 1Gb.  This has led to memory
> problems, with one R process using the RAM, and the other one running
> into memory problems.
>
>
>
> Looking at previous posts on this issue, I have tried using gc(), to
> take back unused memory.  This has allowed the two parallel processes to
> work, but has not given me access to the other 3Gb.
>
>
>
> Any help would be much appreciated into how R may run in parallel using
> more than 1Gb.
>
>
>
> Graham
>
>
>
> Graham Law
>
> Senior Scientist
>
> Epidemiology and Genetics Unit
>
> Department of Health Sciences
>
> University of York
>
> York YO10 5DD UK
>
> (t) +44 (0) 1904 32 1883
>
> (m) +44 (0) 790 500 8828
>
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list