[GRASS-user] r.viewshed build

Markus Metz markus.metz.giswork at googlemail.com
Mon Oct 10 11:52:17 EDT 2011


On Mon, Oct 10, 2011 at 5:38 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Adam Dershowitz, Ph.D., P.E. wrote:
>
>> > This has (hopefully) been fixed in 7.0 with r38702, but the problem
>> > remains in 6.x.
>> >
>> > The fix involves changing line 443 of lib/iostream/mm.cc from:
>> >
>> >     MM_mode MM_register::register_new = MM_ABORT_ON_MEMORY_EXCEEDED;
>> > to:
>> >     MM_mode MM_register::register_new = MM_IGNORE_MEMORY_EXCEEDED;
>>
>> I assume that means 1)  the only way to fix this is to recompile the
>> grass iostream static library?  (I have been using the binary of grass).
>
> Yes. Or wait until someone back-ports the fix. Filing a bug report on
> the tracker may help.

Done in r48704,5. This line 443 is (was) a bit mysterious because the
default has been and still is MM_IGNORE_MEMORY_EXCEEDED, set in
unchanged line 47.

Markus M


More information about the grass-user mailing list