Open BUCKFAE opened 2 years ago
Hey @BUCKFAE,
Thanks for reaching out. I was able to reproduce what you observed. I started looking into potential causes, but haven't found a clear answer. I'll take a deeper look at it this week.
I just updated to python 3.10.1
.
The issue is still not resolved but it seems to have at least improved things a bit.
Issue
I'm trying to create a Player that always instantly forfeits. I'm doing this because i want to generate all possible pokemon builds that appear in random battles. However my memory is slowly but steadily filling up when i run the example program below. Interestingly, once the python program has finished, the memory is not released until i manually shut down the local showdown server. This reaches 100% Memory usage eventually.
Minimal example to reproduce
Starting showdown:
My configuration