Good idea,  and this should cause no problem for the rest.

-Laura


Message: 6
Date: Fri, 7 Aug 2009 16:09:42 -0400
From: Andrew Danner <adan...@cs.swarthmore.edu>
Subject: Re: [GRASS-dev] r.terraflow broken
To: GRASS developers list <grass-dev@lists.osgeo.org>
Message-ID:
        <1f298bfc0908071309m668324d5yd9d2a64264339...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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;

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to