Circuitscape.py icon indicating copy to clipboard operation
Circuitscape.py copied to clipboard

Memory not released when computations complete

Open bmcrae opened this issue 10 years ago • 2 comments

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.

bmcrae avatar Jul 21 '15 20:07 bmcrae

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?

tanmaykm avatar Jul 22 '15 07:07 tanmaykm

Do we have any global dictionaries?

ViralBShah avatar Jul 22 '15 17:07 ViralBShah