[1.0.0] OpenGL Out of Memory - Crashes repeatedly
Posted: Wed Oct 21, 2020 7:34 pm
What happened?
- Game Crashes with OpenGL error: GL_OUT_OF_MEMORY, and:
- Game will then crash every single time I open it, giving same error. Sometimes I can get past the main screen, to launch the world, but then it crashes again each time. This continues to occur indefinitely; the only fix I found is to restart my computer entirely.
- Restarting my computer seems to fix the error for a while, but is only a temporary fix until the error occurs again and I cannot play factorio unless I restart again.
- This has happened to me more than three times since 1.0.0. (Meanwhile I had not played for months before 1.0.0)
What did you do?
- Play the game for a while.
- Also possibly relevant: my most recent endless chain of OpenGL error: GL_OUT_OF_MEMORY crashes occurred immediately upon opening the application Zoom and joining a video call, while trying to run factorio in the background.
What did you expect to happen?
(1) the game to not crash.
(2) some of the OpenGL memory allocation to reset when the game is closed, so that when I re-open the game it does not crash with the same exact error message, repeatedly, unless I restart my computer.
Honestly, I am much more concerned about (2); the initial crash happens rarely enough, maybe once every 10 hours of playtime or something like that. The real bother here is that even after closing then re-opening the game, closing then re-opening steam, and closing (putting to sleep mode) then re-opening my mac, the crash will still occur every time I open the game, either at loading screen or when I try to launch a game world.
Further details that may help:
- force-opengl is false in my config.ini
- other things I do sometimes which might eat openGL memory over time (honestly, I don't know much about openGL, so these may be irrelevant): use Jupyter Lab, use python to make plots with matplotlib, use python to make movies with openCV, watch shows on my computer.
- the crash seems to be unrelated to the world I play in, or actions take in the world. At least, I have not noticed a pattern with these things. The most recent crash chain occurred for a very new world with only an hour of playtime, in single player mode. The crash has happened other times in a multiplayer world with an advanced factory (many flying robots) as well.
I am also attaching a log file. I did not save the log from the first time the crash occurred, this time around. The attached log file corresponds to me trying to start the game, after restarting steam and closing and re-opening my computer, but not doing a full computer restart yet.
- Game Crashes with OpenGL error: GL_OUT_OF_MEMORY, and:
- Game will then crash every single time I open it, giving same error. Sometimes I can get past the main screen, to launch the world, but then it crashes again each time. This continues to occur indefinitely; the only fix I found is to restart my computer entirely.
- Restarting my computer seems to fix the error for a while, but is only a temporary fix until the error occurs again and I cannot play factorio unless I restart again.
- This has happened to me more than three times since 1.0.0. (Meanwhile I had not played for months before 1.0.0)
What did you do?
- Play the game for a while.
- Also possibly relevant: my most recent endless chain of OpenGL error: GL_OUT_OF_MEMORY crashes occurred immediately upon opening the application Zoom and joining a video call, while trying to run factorio in the background.
What did you expect to happen?
(1) the game to not crash.
(2) some of the OpenGL memory allocation to reset when the game is closed, so that when I re-open the game it does not crash with the same exact error message, repeatedly, unless I restart my computer.
Honestly, I am much more concerned about (2); the initial crash happens rarely enough, maybe once every 10 hours of playtime or something like that. The real bother here is that even after closing then re-opening the game, closing then re-opening steam, and closing (putting to sleep mode) then re-opening my mac, the crash will still occur every time I open the game, either at loading screen or when I try to launch a game world.
Further details that may help:
- force-opengl is false in my config.ini
- other things I do sometimes which might eat openGL memory over time (honestly, I don't know much about openGL, so these may be irrelevant): use Jupyter Lab, use python to make plots with matplotlib, use python to make movies with openCV, watch shows on my computer.
- the crash seems to be unrelated to the world I play in, or actions take in the world. At least, I have not noticed a pattern with these things. The most recent crash chain occurred for a very new world with only an hour of playtime, in single player mode. The crash has happened other times in a multiplayer world with an advanced factory (many flying robots) as well.
I am also attaching a log file. I did not save the log from the first time the crash occurred, this time around. The attached log file corresponds to me trying to start the game, after restarting steam and closing and re-opening my computer, but not doing a full computer restart yet.