continuous-poker / dealer

Apache License 2.0
7 stars 3 forks source link

Memory management for game history insufficient #88

Open ds-jkreutzfeld opened 11 months ago

ds-jkreutzfeld commented 11 months ago

In the last session, the dealer repeatedly ran into heap issues the longer a game ran. Multiple teams with open dashboards, which send out multiple API requests every second, were too much for the dealer to handle. Fetching the whole history objects led to ConcurrentModificationExceptions as well as OutOfMemory errors.

We need to find a way to give access to the log in a lightweight way.