X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MemoryLimit.cxx;h=056dace17e9dc7c98a60df17b98c48beab741da2;hb=HEAD;hp=426d63a92d7a1bcaa852817257a8e4b76368233f;hpb=cb55604f37e3d2583272fd436bb6557b041948b5;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_MemoryLimit.cxx b/src/SMDS/SMDS_MemoryLimit.cxx index 426d63a92..056dace17 100644 --- a/src/SMDS/SMDS_MemoryLimit.cxx +++ b/src/SMDS/SMDS_MemoryLimit.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -29,9 +29,7 @@ #include #endif -#ifdef _DEBUG_ #include -#endif int main () { @@ -59,9 +57,9 @@ int main () } } catch (...) {} -// #ifdef _DEBUG_ -// std::cout << freeRamKb / 1024 << std::endl; -// #endif +// if (SALOME::VerbosityActivated()) +// std::cout << freeRamKb / 1024 << std::endl; + return freeRamKb / 1024; #endif