leeroybrun / glacier-vault-remove

Remove all archives stored inside an Amazon Glacier vault, even if you have a huge number of them.
379 stars 50 forks source link

Attempt to decrease memory usage #22

Closed AmazingDreams closed 7 years ago

AmazingDreams commented 7 years ago

So, this is my rather pathetic attempt to reduce the memory usage somewhat. It seems to help. I don't know much about python though.

Furthermore I'm starting to think the actual leak is due to sockets remaining open or something. I sometimes get a "Too many open files" error

raphael-riel commented 7 years ago

@AmazingDreams : Check my PR #25 for a confirmed fix.

raphael-riel commented 7 years ago

And my answer in #24 about the "too many open files"

leeroybrun commented 7 years ago

I'm closing this one in favor of #25. Moving to Boto3 is great! :+1: But thanks for your work @AmazingDreams !