reduce memory limit

-      limit = limit * 2;
+      limit = int ( limit * 1.5 );
This commit is contained in:
eap 2011-05-10 08:27:01 +00:00
parent 621f26055e
commit 711502d1f0

View File

@ -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" );
}