Salome HOME
[bos #32517][EDF] Dynamic log messages switched on and off by SALOME_VERBOSE environm...
[modules/smesh.git] / src / SMDS / SMDS_MemoryLimit.cxx
index e2e28642a903b0ed49b703490e661fd707d8b014..b3abfc82caf3bdc8b2d59eb207e9430bb46ae337 100644 (file)
@@ -29,9 +29,7 @@
 #include <sys/sysinfo.h>
 #endif
 
-#ifdef _DEBUG_
 #include <iostream>
-#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