[R] Memory.limit

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Dec 20 17:16:04 CET 2001


On Thu, 20 Dec 2001, Hugo Morganho wrote:

>          Hi.
>          I tryed to make available more memory to R, and use the
> --max-mem-size on the shortcut (ki'm running R131 on WinNT), but i can't
> set the memory limit to the size that i want, but just 2147483647 (bytes?).
>          I have +- 1GB of virtual memory, so it's not possible to use that?

You didn't tell us what did not work.  But

Rgui.exe --max-mem-size=1000M

has worked for me.  I really don't think you will find it works well
using virtual memory though: R uses memory allocation pretty actively
and VM is hardly likely to be fast enough.

R 1.4.0 has some tweaks to make better use of large amounts of (real)
memory under Windows.  There are still address space limits: users get 2Gb
on NT4 (so the book says), and that includes for some parts of the OS.  I
managed to allocate 1.75Gb under Windows 2000, no more.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list