From 711502d1f010ca1cd69e8b45554375b6cd805740 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 May 2011 08:27:01 +0000 Subject: [PATCH] reduce memory limit - limit = limit * 2; + limit = int ( limit * 1.5 ); --- src/SMDS/SMDS_Mesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 8225a5ec7..0b640de90 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -95,7 +95,7 @@ int SMDS_Mesh::CheckMemory(const bool doNotRaise) throw (std::bad_alloc) if ( limit < 20 ) limit = 20; else - limit = limit * 2; + limit = int ( limit * 1.5 ); MESSAGE ( "SMDS_Mesh::CheckMemory() memory limit = " << limit << " MB" ); } -- 2.39.2