[Rd] increase size of the limit of memory (PR#8885)

zhou at stat.columbia.edu zhou at stat.columbia.edu
Sun May 21 03:32:44 CEST 2006

Full_Name: Shouhao Zhou
Version: 2.2.1
OS: windows
Submission from: (NULL) (

if you run the following code in R after version 2.1.1:


with output:

Error: cannot allocate vector of size 703125 Kb
In addition: Warning messages:
1: Reached total allocation of 509Mb: see help(memory.size) 
2: Reached total allocation of 509Mb: see help(memory.size) 

then I try to increase the size by command which made sense in R before version
2.0.1 and can help to allocate vector y of size 703125 Kb:


but now we get the output in such away:

Error in memory.size(size) : don't be silly!: your machine has a 4Gb address

What can I do now to allocate the vector y<-array(NA,c(6000,30000)) in the
latest version of R?

More information about the R-devel mailing list