You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# this is in a finally to allow cleanup if the generator is
# deleted after it finishes (when it's not fully consumed)
self.shelve(model, index, modify)
The lack of an explicit del model after the shelve keeps it in scope until it's overwritten by the enumerate iterator which only overwrites it after the next model is loaded. This results in 2 models in memory when only 1 is needed.
The text was updated successfully, but these errors were encountered:
In the following loop:
stpipe/src/stpipe/library.py
Lines 739 to 745 in 9952c36
The lack of an explicit
del model
after the shelve keeps it in scope until it's overwritten by theenumerate
iterator which only overwrites it after the next model is loaded. This results in 2 models in memory when only 1 is needed.The text was updated successfully, but these errors were encountered: