[GRASS-user] G_calloc problem

Kishore wrote:

r.surf.idw and v.surf.bspline were working fine for me till last week.
But now it reports the following error

ERROR: G_calloc unable to allocate 584928756 * 8 bytes

Can anyone help me on this?

It means you don't have enough memory and it can't allocate any more.

And one more thing, methods like v.to.rast and some more were very fast
but now they are very slow. I am unable to understand what could be the
problem?

check 'g.region -p'

your region will be set to be too many rows x columns. try to keep it
smaller than say 20000 x 20000 (but 2000x2000 might be a typical value).

Hamish

Thanks Hamish, its working if I decrease number of rows and cols. But it was working with same number of cells (I mean without changing resolution). Do you have any idea why this would be happening?


Kishore

On Thu, Apr 8, 2010 at 11:48 PM, Hamish <hamish_b@yahoo.com> wrote:

Kishore wrote:

r.surf.idw and v.surf.bspline were working fine for me till last week.
But now it reports the following error

ERROR: G_calloc unable to allocate 584928756 * 8 bytes

Can anyone help me on this?

It means you don’t have enough memory and it can’t allocate any more.

And one more thing, methods like v.to.rast and some more were very fast
but now they are very slow. I am unable to understand what could be the
problem?

check ‘g.region -p’

your region will be set to be too many rows x columns. try to keep it
smaller than say 20000 x 20000 (but 2000x2000 might be a typical value).

Hamish