I want to get a 64-bit machine/OS system so I can put 16Gb of RAM in it. As first I assumed that I would have to use the 64-bit version of R to make use of the 16Gb of RAM, which would mean that I would use the Linux version of R. But I have heard many posters say they run the 32-bit version of R on a 64-bit machine/OS. So my questions, in Windows 64-bit, how much memory would be available to the 32-bit R binary? Is it 4Gb (because its a 32-bit application) or 16Gb (because its being run on a 64-bit OS)? I know most people will suggest to me to ditch windoze and goto Linux, but my company IT department has a big problem with that (and no, they don't want to compile the 64-bit version in Windows, thanks for asking). TIA for any help. Roger [[alternative HTML version deleted]]
Prof Brian Ripley
2006-Jun-27 13:01 UTC
[R] Memory available to 32-bit R app on 64-bit machine
On Tue, 27 Jun 2006, roger bos wrote:> I want to get a 64-bit machine/OS system so I can put 16Gb of RAM in it. As > first I assumed that I would have to use the 64-bit version of R to make use > of the 16Gb of RAM, which would mean that I would use the Linux version of > R. But I have heard many posters say they run the 32-bit version of R on a > 64-bit machine/OS.Yes, and the address-space limits on 32-bit applications still apply: it is done for speed.> So my questions, in Windows 64-bit, how much memory > would be available to the 32-bit R binary? Is it 4Gb (because its a 32-bit > application) or 16Gb (because its being run on a 64-bit OS)?2Gb, as it is a rather limited 32-bit subsystem of a 64-bit OS. See the reference in the rw-FAQ Q2.9 or ?"Memory-limits". No 32-bit OS gives 4Gb address space to an application: most manage about 3Gb. See ?"Memory-limits" (which is tailored to the OS you are running).> [[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.htmlOh, PLEASE do and turn off HTML mail as we ask. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595