On Thu, Oct 21, 2010 at 11:12 PM, M.Onur Kurum <[email protected]> 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 <o...@fort63>...
>  100%
> Loading raster map <o...@fort63>...
>  100%
> Translating colors from raster map <o...@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
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to