[GRASS-user] Memory issues

Rich Shepard rshepard at appl-ecosys.com
Mon Jul 16 14:09:48 PDT 2018


On Mon, 16 Jul 2018, Micha Silver wrote:

>>   Current region rows: 47371, cols: 83934
> 
> That means that each raster will have about 4 billion cells. A raster with
> integer values takes 32 bits per pixel, (double precision about the same,
> float about 1/2 of that), so if the whole raster needs to be kept in
> memory, you would require some 16GB of RAM....
   
Micha,

   So when creating vector contours grass7 needs to keep all raster cells in
memory while it's processing.

   This suggests that the solution is to create a mask and generate the
contours only within that area.

Thanks,

Rich



More information about the grass-user mailing list