[R] memory allocation error message

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 14 09:01:10 CEST 2004


Prodromos Zanis wrote:

> Dear all
> 
> I use the library(netCDF) to read in NCEP data. The file I want to read has size 113 Mb.
> When i try to read it I get the following message:
> 
> Error: cannot allocate vector of size 221080 Kb
> In addition: Warning message: 
> Reached total allocation of 255Mb: see help(memory.size) 

So this is an R version < 1.9.0 !

1. Please upgrade.
2. Please read ?Memory and learn how to increase the maximum amount of 
memory consumed by R under Windows.

Uwe Ligges



> I get a similar message when I try to read a file with 256 Mb in a PC with 2 GigaByte RAM.
> 
> Is there something that I can do to handle this problem of reading big netCDF files with R-project.
> 
> I look forward for your help.
> 
> Prodromos Zanis
> 
> 
> ****************************************************
> Dr. Prodromos Zanis
> Research Centre for Atmospheric Physics and Climatology 
> Academy of Athens
> 3rd September 131, Athens 11251, Greece
> Tel. +30 210 8832048
> Fax: +30 210 8832048
> e-mail: pzanis at geol.uoa.gr
> Web address: http://users.auth.gr/~zanis/
> *****************************************************
> 
> 
> 	[[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