No subject

Net.Noise owner news at
Wed Jun 16 11:59:01 EDT 1993

Newsgroups: info.grass.user
From: shapiro at (Michael Shapiro)
Subject: Re: G_realloc: out of memory
Message-ID: <C8q1qA.Any at>
Sender: news at (Net.Noise owner)
Organization: US Army Corps of Engineers Construction Engineering Research Labs
References: <9306071409.AA25785 at>
Date: Wed, 16 Jun 1993 15:58:58 GMT
Lines: 24

In <9306071409.AA25785 at> doug at (grass) writes:

>       When running on an image I find this error.
>           G_realloc: out of memory
>       Does anyone know what I can do to run an update on the stats
>       for this image?

>Doug Bradley

The file that is trying to update is cell_misc/<map>/range
which is a one line ascii file with 4 numbers: nmin nmax pmin pmax
(corresponing to the min and max range for the negative and positive
values in your raster map). Try
	r.describe -r <map>

The -r option for r.describe doesn't require as much memory and will
tell you the values you need for nmin, nmax, pmin, pmax. Then create
the range file "by hand".
Michael Shapiro               shapiro at
U.S. Army CERL                (217) 373-7277
P.O. Box 9005 
Champaign, Ill. 61826-9005

More information about the grass-user mailing list