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

From: Thomas Lumley <>
Date: Sat 06 May 2006 - 02:30:38 EST

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 Lumley			Assoc. Professor, Biostatistics	University of Washington, Seattle

______________________________________________ mailing list PLEASE do read the posting guide! Received on Sat May 06 02:38:57 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 May 2006 - 10:10:01 EST.

Mailing list information is available at Please read the posting guide before posting to the list.