6 random players playing against each other uses A LOT of ram
haralEcl opened this issue · 2 comments
Describe the bug
This is not really a bug, it's more of a question. Why is only playing with random players uses such a big amount of ram?
It's expected that the ram consumption increases as more hands are being played (to save log and stuff in memory). But I am talking about 3-4GB of ram after only ~20 hands.
To Reproduce
Steps to reproduce the behavior:
Follow the installation steps. (The readme is quite clear, it very helpful thank you !)
Then run: python main.py random --render
Expected behavior
I would except the ram to be used less, as hands are being played.
Additional context
I have only 8gb of ram
Is there any difference if you don't use --render?
Indeed, without the render the memory usage is stable.
So the issue comes from pyglet ?