Salome HOME
Do not fetch data on local python node in case of squeeze memory
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 11 Jul 2023 20:27:59 +0000 (22:27 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 22 Aug 2023 10:54:53 +0000 (12:54 +0200)
src/runtime/PythonNode.cxx

index cbc2ff4df921c03d639766b994ace6c465c11a97..0010800456e0df12dcfc4fe9a9ecad873889d034 100644 (file)
@@ -752,8 +752,9 @@ void PythonNode::executeLocal()
 
     //calculation
     DEBTRACE( "----------------PyNode::calculation---------------" );
-
-    executeLocalInternal( unpxy.str() );
+  
+    if( ! getSqueezeStatus() )
+      executeLocalInternal( unpxy.str() );
 
     executeLocalInternal( _script );