Closed ryanjenkinson closed 1 year ago
Use the inbuilt gc module to periodically gc.collect(). This should stop memory leaks from accumulating and us running out of resources on Streamlit cloud.
gc
gc.collect()
The current solution is a little clunky, but we can probably optimise it more later on.
Partially closes #1 .
Use the inbuilt
gc
module to periodicallygc.collect()
. This should stop memory leaks from accumulating and us running out of resources on Streamlit cloud.The current solution is a little clunky, but we can probably optimise it more later on.
Partially closes #1 .