[GRASS-dev] r.terraflow broken

Glynn Clements glynn at gclements.plus.com
Wed Aug 12 20:37:50 EDT 2009


Andrew Danner wrote:

> Can we just initialize the MM_manager to ignore memory limits until we have
> a chance
> to set and enforce a limit? The change below allowed me to at least compile
> and run the help
> 
> --- lib/iostream/mm.cc    (revision 38633)
> +++ lib/iostream/mm.cc    (working copy)
> @@ -458,7 +458,7 @@
>  MM_register MM_manager;
>  int MM_register::instances = 0; // Number of instances. (init)
>  // TPIE's "register memory requests" flag
> -MM_mode MM_register::register_new = MM_ABORT_ON_MEMORY_EXCEEDED;
> +MM_mode MM_register::register_new = MM_IGNORE_MEMORY_EXCEEDED;

Committed as r38702.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list