magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.84k stars 757 forks source link

Server crashes a lot recently (memory overflow restarts) #11285

Open CozyDoomer opened 10 months ago

CozyDoomer commented 10 months ago

The interval varies quite a lot but in my experience, it happens roughly every few minutes to 2 hours.

People in the in-game chat are saying it happens when a near-infinite amount of triggers are created (e.g. storm with way more than 20 triggers) but I have no evidence for this. I do know however that recently the game has been almost unplayable due to the crashes so I'd like to help where I can.

@JayDi85 do you have anything in your logs? Also not sure if this came up already - I couldn't find any issues on this except maybe #10656.

Susucre commented 3 months ago

On Energy Refractor, very reproducible, game is stuck for me on casting the 5th one out of 25 total lands:

CPU shows a lot of activity as the game is stuck:

image

On local dev server, human vs human game.

Memory does ramp up during that time, which might cause other issues eventually too.