I opened the singleplayer menu to create a new game and selected the PvP scenario. I went to the advanced menu and set the size to 1x1 (as a joke). I created the map, joined the first team, and proceeded.
What happened was the game hung in such a way that if I switched to a different window and back, the screen would not repaint itself and you would still see the other program window. If you look at memory usage, you will see system memory being consumed at a rate of nearly 200MiB/second. If left unchecked, the game will easily consume 10GiB of memory, up until the point the OOM killer reaps the process. A double ctrl-c is needed to terminate the game.
The expected outcome is for the player to spawn in a small fixed-size map or have an error occur if some constraint could not be satisfied.
More details:
If I join the first team right away (as originally done), I could get a crashless map with 128(w) x 82(h), and a crashy one with 128(w) x 128(h).
If I leave myself unassigned and assign myself to a random team, I could get a crashless (and crashy) map with 16 x 16.
If I spectate, I can easily create a 1 x 1 map.
[0.18.27] Hang and rapid memory exhaustion with PVP mode and small map
-
- Burner Inserter
- Posts: 6
- Joined: Fri Feb 01, 2019 8:51 pm
- Contact:
[0.18.27] Hang and rapid memory exhaustion with PVP mode and small map
- Attachments
-
- factorio-current.log
- (25.82 KiB) Downloaded 152 times
Re: [0.18.27] Hang and rapid memory exhaustion with PVP mode and small map
Thanks for the report,
Its fixed for the next release
Its fixed for the next release