Open bmcrae opened 9 years ago
The GUI does not seem to be holding on to any global reference to the circuitscape.Compute
, there are also no large static references. Not sure about pyamg
.
Calling gc
in the GUI after displaying the result may probably help?
Do we have any global dictionaries?
At least when called from csgui.exe, Circuitscape continues to consume memory after calculations are complete. This is presumably because large arrays are not deleted once results are returned. This can be problematic when running on shared servers.