I was trying to define the drainage patterns and to delineate some catchments based on a 30m DEM using
r.watershed --overwrite elev=DEM accumulation=Accum drainage=Drainage -m
but grass would constantly crash and i would obtain the following error
WARNING: segment zero_fill(): Unable to write (No space left on device) WARNING: seg_open(): could not write segment file
I did some searching about this error here and here, and this help me understanding that the program was running out of memory when processing the order, however it did not provide much more insight into how to address this issue.
Does anyone know what i can do to solve this and run r.watershed?