[GRASS-user] vector to raster: ERROR: G_calloc: unable

Markus Metz markus.metz.giswork at googlemail.com
Tue Apr 21 11:10:04 EDT 2009


Martin Wegmann wrote:
> Hello, 
>
> I tried to do v.to.rast with a vector file but receive this error message:
>
> v.to.rast input=in output=out column=A_VAL1 type=area                     
> ...
> WARNING: Area without centroid (may be OK for island)
> WARNING: Area without centroid (may be OK for island)
> WARNING: Area without centroid (may be OK for island)
> ERROR: G_calloc: unable to allocate 525123584 * 8 bytes at raster.c:71
>   
This is a request for about 3.9 GB of memory. Maybe you ran out of 
memory? The default number of rows to hold in memory is 4096, you could 
try a smaller value e.g. v.to.rast rows=2048.
Maybe the region settings, extend and resolution, are a bit high and 
could be adjusted?

Markus M


More information about the grass-user mailing list