Ivan Shmakov wrote:

> >>>>> Glynn Clements <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
>  > I tried running r.univar on the same map for comparison, but it
>  > crashed while trying to compute the percentile (the other statistics
>  > were computed okay).
> 
>       Is it due to the memory allocation issues, or?

I don't know. 30m cells * 8 bytes per cell = ~240MiB. The system has
1GiB of swap, so malloc() shouldn't fail.

>       Anyway, I guess I may commit my patch?  I believe that the other
>       issues you've mentioned should be resolved by separate
>       changesets.  (And I joyfully commit the ``double'' cast patch
>       personally.)

Agreed.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to