Home Forums Nazca RAM usage Reply To: RAM usage

#5949
Ronald
Keymaster

Dear Ale35,

With deleting the variable space, do you mean checking the option (Spyder 3.3.6):

Spyder-menu/Tools/PreferenceRun/General settings/Remove all variable before execution

This is also discussed with a screenshot in the following post
https://stackoverflow.com/questions/45853595/spyder-clear-variable-explorer-along-with-variables-from-memory

Do you reuse the python console rather than spawning new ones? In the latter case consoles may stick around in memory, but I haven’t looked into that explicitly.

If the above does not resolve the issue you may also try to delete some Nazca arrays explicitly in your code and rely on Python’s garbage collection.

import nazca as nd
nd.clear_layout()
nd.clear_layers()
nd.clear_xsections()

Ronald