You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find a solution but I can list my observations:
After playing a round, the parent app process (PlayerchainDemo-dev) was ~1.5gb and the two child window processes were ~1gb
After resetting the app, the parent app processes memory usage didn't go down at all however the two child window processes do reset to around 700mb
After playing 7 consecutive rounds, the child processes were at around ~1gb the same as the first round however the parent process was 8gb
After a clean start, initialising a new chain and waiting on the connection screen, the memory usage of the parent app process would slowly go up if left.
curiously the rate in which it goes up varies greatly. I've seen it slowly increase 1mb a minute to suddenly increasing 10mb a second. Not sure if other people playing the game would be affecting this
In Peer.init()if I comment out the function that adds the socket listeners, memory usage will not go up over time
In Peer._onMessage() if I comment out all handlers then memory usage doesn't go up
In Peer._onMessage() if I have the ping/pong handlers uncommented then memory usage WILL go up
There was a point where I was suspecting setPeriodic to be causing some trouble but I edited the function to just return early and memory usage still increased over time.
left open will consume many GB of memory
The text was updated successfully, but these errors were encountered: