[R] large data set, error: cannot allocate vector

Thomas Lumley tlumley at u.washington.edu
Fri May 5 18:30:38 CEST 2006


On Fri, 5 May 2006, Robert Citek wrote:

>
> Why am I getting the error "Error: cannot allocate vector of size
> 512000 Kb" on a machine with 6 GB of RAM?
>

In addition to Uwe's message it is worth pointing out that gc() reports 
the maximum memory that your program has used (the rightmost two columns). 
You will probably see that this is large.

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list