[GRASS-user] trouble with r.terraflow

Markus Metz markus.metz.giswork at googlemail.com
Mon Apr 9 14:36:13 EDT 2012


tomte wrote:
> Dear folks,
>
> I am using GRASS 6.4.1 (2011) on Mac (mac os x 10.7.3). Generally I am
> running GRASS without any trouble but calling r.terraflow from the command
> line generates the following error comments:
>
> MM error: limit =0B. allocating 16B. limit exceeded by 24B.
> Assertion failed: (0), function operator new, file mm.cc, line 326.
> Abort trap: 6
>
It would help a lot if you could provide exact the command line used
to invoke r.terraflow. A first guess is that the memory option was set
to something higher than 2048, because r.terraflow in 6.4.1 can only
use a maximum of 2GB of memory. Since r.terraflow is very efficient in
handling temporary data, you could just as well leave out the memory
option (default is 300MB). Alternatively, you can use r.watershed
which produces more realistic results.

Markus M

>
> using the gui generates preety much the same output:
>
>
> tree = etree.fromstring(getInterfaceDescription(cmd))
>  File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpyt
> hon/gui_modules/menuform.py", line 1973, in
> getInterfaceDescription
>
> "Details: %s") % (cmd, cmderr)
> gui_modules.gcmd
> .
> GException
> :
> Unable to fetch interface description for command
> 'r.terraflow'. Details: MM error: limit =0B. allocating 16B.
> limit exceeded by 24B.
> Assertion failed: (0), function operator new, file mm.cc,
> line 326.
>
>
> Does anybody knows whats going wrong here.
> Thanks in advance
>
> Thomas
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/trouble-with-r-terraflow-tp4716732p4716732.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list