]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
+ SMDS_Mesh::CheckMemory(); // PAL16631
authoreap <eap@opencascade.com>
Mon, 24 Sep 2007 12:56:45 +0000 (12:56 +0000)
committereap <eap@opencascade.com>
Mon, 24 Sep 2007 12:56:45 +0000 (12:56 +0000)
src/SMESH/SMESH_subMesh.cxx

index d490e6bbe7b5412cc55ede5b578131afd8214d95..ebb96e21d01f3749dd2bc32d45938a52ec6f865a 100644 (file)
@@ -1315,8 +1315,9 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
 #if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
           OCC_CATCH_SIGNALS;
 #endif
-          MemoryReserve aMemoryReserve;
           algo->InitComputeError();
+          MemoryReserve aMemoryReserve;
+          SMDS_Mesh::CheckMemory();
           if ( !_father->HasShapeToMesh() ) // no shape
           {
             SMESH_MesherHelper helper( *_father );