Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Memory not released when computations complete #79

Open
bmcrae opened this issue Jul 21, 2015 · 2 comments
Open

Memory not released when computations complete #79

bmcrae opened this issue Jul 21, 2015 · 2 comments

Comments

@bmcrae
Copy link
Contributor

bmcrae commented Jul 21, 2015

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
Copy link
Member

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
Copy link
Member

Do we have any global dictionaries?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants