Hi!
Is there any efficient way in python 3 to release memory after removing object?
del DF
DF = pd.DataFrame()
gc.collect()
None of those is working properly. Only working approach is to DF.to_csv
after working on it, restart the script and read_csv
- that is really annoying.
from SecureString import clearmem
- works fine in python 2, however it is not supported in python 3
Do you know any similiar method to SecureString that works in python 3?
Thanks in advance!