[R] memory

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue May 16 19:56:14 CEST 2006


Jean-Pierre Dube wrote:

> To whom it may concern,
> 
> I seem to be encountering RAM problems using R.  I am currently running R 
> 2.2.0 in Windows XP version 2002.  My computer has 4 GB of RAM.  The 
> problem I am encountering is that R does not seem to allow me to obtain 
> more than 1.5GB of  RAM as I construct various matrices.
> 
> I have already pre-allocated 3.5 GB of RAM as in the command line I entered 
> under "Target": "C:\Program Files\R\R-2.2.0\bin\Rgui.exe" 
> --max-mem-size=3500Mb.
> 
> However, R still seems to be blocked at 1.5GB.  Once I have more than about 
> 1.5 GB of RAM allocated to the various objects in memory, I get an error 
> that R cannot allocate the matrix.
> 
> Is there an internal RAM limit for R?  Are there any work-arounds?


There is a theoretical limit is 2Gb - and this is an operating system 
issue. Anyway, ?"Memory-limits" describes how to get more.

Uwe Ligges



> Thank you very much,
> 
> JP
> 
> 
> 
> ____________________________________________________________________________________________________________________________________________________
> Jean-Pierre H. Dube
>          Associate Professor
>          University of Chicago, Graduate School of Business
>          5807 South Woodlawn Avenue
>          Chicago, Illinois 60637
> 
> tel     773-834-5377
> fax     773-702-0458
> e-mail: jdube at gsb.uchicago.edu
> web:    gsb.uchicago.edu/fac/jean-pierre.dube
> ____________________________________________________________________________________________________________________________________________________  
> 
> 	[[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