Circuitscape / Circuitscape.py

Circuitscape uses electronic circuit theory to solve problems in landscape ecology.
https://www.circuitscape.org/
Other
27 stars 17 forks source link

Memory not released when computations complete #79

Open bmcrae opened 9 years ago

bmcrae commented 9 years ago

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.

tanmaykm commented 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?

ViralBShah commented 9 years ago

Do we have any global dictionaries?