Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621f260
)
reduce memory limit
author
eap
<eap@opencascade.com>
Tue, 10 May 2011 08:27:01 +0000
(08:27 +0000)
committer
eap
<eap@opencascade.com>
Tue, 10 May 2011 08:27:01 +0000
(08:27 +0000)
- limit = limit * 2;
+ limit = int ( limit * 1.5 );
src/SMDS/SMDS_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_Mesh.cxx
b/src/SMDS/SMDS_Mesh.cxx
index 8225a5ec730873d3e3940e2b692e6734a1404828..0b640de909a15a4a3a042a67e281ffd9363109c1 100644
(file)
--- 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" );
}