[GRASS-SVN] r38702 - grass/trunk/lib/iostream
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 12 20:31:08 EDT 2009
Author: glynn
Date: 2009-08-12 20:31:07 -0400 (Wed, 12 Aug 2009)
New Revision: 38702
Modified:
grass/trunk/lib/iostream/mm.cc
Log:
Don't abort on memory-exceeded
Modified: grass/trunk/lib/iostream/mm.cc
===================================================================
--- grass/trunk/lib/iostream/mm.cc 2009-08-12 16:37:47 UTC (rev 38701)
+++ grass/trunk/lib/iostream/mm.cc 2009-08-13 00:31:07 UTC (rev 38702)
@@ -458,7 +458,9 @@
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;
+//This causes constructors for static variables to fail
+//MM_mode MM_register::register_new = MM_ABORT_ON_MEMORY_EXCEEDED;
More information about the grass-commit
mailing list