From: eap Date: Mon, 10 Sep 2007 14:22:22 +0000 (+0000) Subject: PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack... X-Git-Tag: T_24092007~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8d053705ea565f50140b68c7b956ee03ebf64949;p=modules%2Fsmesh.git PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory) Precise error message --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 1bac302b2..d490e6bbe 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1335,7 +1335,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event) _computeError = algo->GetComputeError(); } catch ( std::bad_alloc& exc ) { - printf("std::bad_alloc\n"); + printf("std::bad_alloc thrown inside algo->Compute()\n"); if ( _computeError ) { _computeError->myName = COMPERR_MEMORY_PB; //_computeError->myComment = exc.what(); @@ -1344,7 +1344,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event) throw exc; } catch ( Standard_OutOfMemory& exc ) { - printf("Standard_OutOfMemory\n"); + printf("Standard_OutOfMemory thrown inside algo->Compute()\n"); if ( _computeError ) { _computeError->myName = COMPERR_MEMORY_PB; //_computeError->myComment = exc.what();