issues
search
GDD-Nantes
/
FedShop
Code for FedShop: The Federated Shop Benchmark
GNU General Public License v3.0
8
stars
0
forks
source link
Call `watdiv` taking too much memory
#8
Closed
mhoangvslev
closed
1 year ago
mhoangvslev
commented
1 year ago
Issue:
When using
generate.py
, the output is held in memory, causing memory saturation.
Solution:
subprocess.run
launches the command, write the output and error in
subprocess.PIPE
and release upon completion.
A workaround is to use
subprocess.Popen
redirect output and error to
subprocess.PIPE
and write to the output file in stream.
Issue:
generate.py
, the output is held in memory, causing memory saturation.Solution:
subprocess.run
launches the command, write the output and error insubprocess.PIPE
and release upon completion.subprocess.Popen
redirect output and error tosubprocess.PIPE
and write to the output file in stream.