Skip to content
Prev 2760 / 29559 Next

problems with memory limits of R

On Wed, 7 Nov 2007, maria fantappi? wrote:

            
Please follow the posting guide carefully. Please always state the output 
of sessionInfo(). The latest version of sp may help, but we do not know 
which version of R, sp, rgdal?, maptools?, whatever, you are using. All we 
know is that you are using Windows, for which no 64-bit version of R is 
currently available, and where Windows is known to have worse memory 
management, because it has more difficulties arranging smaller fragmented 
free memory chunks into a larger requested allocation.

Do you need to load 20MB rasters (this is a very imprecise description - a 
20MB geotiff may be very large indeed after compression is removed), even 
if 20MB means 20M raster cells (say 5000 by 4000, multiplied by 8 for 
double precision per band)? Can you use subsetting in rgdal to read tiles 
of data? Please also review the R for Windows FAQ on memory constraints - 
Q2.9.

Roger