Closed blackelk closed 5 years ago
@blackelk Thanks! do you think this could be linked to the Python version in anyway?
@blackelk Thank you, will look at this.
@blackelk I've spent two hours trying to figure the source of a leak, but couldn't find it.
BTW I think using virtual memory from /proc as a reference is not the best and might be misleading. The python runtime can allocate memory for its own purposes. When gc.collect() is run from time to time, then the memory usage shown by script you wrote is not as big. However, there still is some leak. I'll keep looking for it.
How to reproduce:
Same on python3 - remove
.encode('utf8')