[GRASS-user] r.watershed error

Kurt Springs ferret_bard at mac.com
Sat May 22 18:42:38 EDT 2010


Hi all,

I am trying to run r.watershed using a dem I converted from a USGS Seamless server 1/3 arc map.

This is what I get:

GRASS 6.4.0RC6 (NH):~ > r.watershed elevation=NED13_01 at PERMANENT threshold=10 max.slope.length=10 accumulation=acc13_01 drainage=drain13_01 basin=basin13_01 stream=stream13_01 half.basin=half13_01 visual=visual13_01 length.slope=length13_01 slope.steepness=Steep13_01 memory=300 
SECTION 1a (of 6): Initiating Memory.
r.watershed.ram(2881) malloc: *** mmap(size=18446744070980743168) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ERROR: G_malloc: unable to allocate 18446744070980740804 bytes at
       init_vars.c:133
WARNING: Subprocess failed with exit code 256
WARNING: category information for [acc13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [drain13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [basin13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [stream13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [half13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [visual13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [length13_01] in [PERMANENT] missing or
         invalid
WARNING: category information for [Steep13_01] in [PERMANENT] missing or
         invalid

Any idea what I'm doing wrong?

Kurt


More information about the grass-user mailing list