[GRASS-user] nviz_cmd problem winGrass6.5 - 7.0

Markus Neteler neteler at osgeo.org
Sun Oct 24 05:58:14 EDT 2010


On Thu, Oct 21, 2010 at 11:12 PM, M.Onur Kurum <mokurum at ncsu.edu> wrote:
>
> nviz_cmd.exe stops working in Grass6.5 and does not create the image - is this a known issue?

 ....

see below...

> Also, in Grass 7.0, here is what I get:
>
> GRASS 7.0.svn> nviz_cmd out0 color_map=out0 out=out0 zexag=0.00140 height=141.8
> 0 position=0.464,0.68 resolution_fine=1 resolution_coarse=1 persp=40 format=tif
>  size=500,500
> Loading raster map <out0 at FORT63>...
>  100%
> Loading raster map <out0 at FORT63>...
>  100%
> Translating colors from raster map <out0 at FORT63>...
>  100%
> ERROR: G_malloc: unable to allocate 3659235904 bytes of memory at
>        gsd_prim.c:913

It tries to allocate 3.4GB of RAM. Does the machine offer this?

> GRASS 7.0.svn>
>
> regions are set to my raster file in both cases - changing the region (zoom in or out) does not change the bytes of memory needed in GRASS7.0 case.
>

It depends on the resolution. You may need to decrease the resolution
with g.region
to make stuff fit into the memory of your computer. Remember that also
the operating
system consumes memory (the GRASS overhead is pretty low).

cheers
Markus


More information about the grass-user mailing list