From: eap Date: Tue, 10 May 2011 08:27:01 +0000 (+0000) Subject: reduce memory limit X-Git-Tag: V6_3_0b2~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=711502d1f010ca1cd69e8b45554375b6cd805740;p=modules%2Fsmesh.git reduce memory limit - limit = limit * 2; + limit = int ( limit * 1.5 ); --- 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" ); }