> I define the computational area with 'g.region raster=dem zoom=dem' ('dem'
being my raster) before launching the script so it should match the
elevation map.

try 

g.region -a raster=elevation align=elevation

to match and align your dem

https://grass.osgeo.org/grass70/manuals/g.region.html

-a    Align region to resolution
align=name Adjust region cells to cleanly align with this raster map



-----
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/g-malloc-on-r-watershed-with-30GB-free-ram-r-fill-dir-crash-tp5223620p5223832.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to