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 <[email protected]>
Subject: Re: [GRASS-dev] r.terraflow broken
To: GRASS developers list <[email protected]>
Message-ID:
<[email protected]>
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev