[GRASS-dev] [GRASS GIS] #3801: r.watershed crashing on large rasters

GRASS GIS trac at osgeo.org
Wed Mar 27 01:47:02 PDT 2019


#3801: r.watershed crashing on large rasters
-----------------------+-------------------------
  Reporter:  dnewcomb  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.6.1
 Component:  Default   |    Version:  7.4.1
Resolution:            |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-------------------------

Comment (by mmetz):

 Replying to [ticket:3801 dnewcomb]:
 > Attempting to run r.watershed on a 13.7 billion pixel raster elevation
 layer
 >  r.watershed --overwrite elevation=cfsdem05 accumulation=cfs_accum
 drainage=cfs_drain
 > SECTION 1a (of 4): Initiating Memory.
 > WARNING: Subprocess failed with exit code 11
 > WARNING: category information for [cfs_accum] in [PERMANENT] missing or
 >          invalid
 > WARNING: category information for [cfs_drain] in [PERMANENT] missing or
 >          invalid
 >
 > I have tried this with Memory=100000 MB

 The memory option has an effect only when using the -m flag. I don't think
 r.watershed in all-in-memory mode (no -m flag) is supporting such large
 input maps.
 >
 > Does r.watershed need more than 100GB of memory to run on a 14 billion
 pixel raster?
 >
 > The raster is linked via r.external, doe it need to be imported ?
 >
 > Looking backwards, the enhancement to run large raster was done for
 GRASS 7.0 , is this a regression, or was it not tested to larger than 9
 billion cells?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3801#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list