[GRASS-user] r.hydrodem and region

Martin Landa landa.martin at gmail.com
Wed Jan 14 02:09:25 PST 2015


Hi all,

colleague of mine is having problem with r.hydrodem. He is running
GRASS on 64bit Windows (note that we have still only 32bit installer):

r.hydrodem --verbose input=dmt_zapad at petrus.david memory=3000
output=dmt_zapad_HD mod=4 size=4
All sinks with max 4 cells to be modified will be removed
All sinks not larger than 4 cells will be removed.
7.71 of data are kept in memory
Will need up to 53515.69 MB of disk space
Create temporary files...
Current region rows: 53561, cols: 47588
ERROR: G_malloc: unable to allocate 8192 bytes of memory at
lib/segment/setup.c:124

It means region with more than 2.5e9 cells. Input data are
floating-point. The message says than it's not possible to allocate
8kb in memory which is not really informative for the user. Is there
any room to improving this message?

Any idea or hits? Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa


More information about the grass-user mailing list