Hi,
while playing the current version, the game crashed on autosave. The autosave-Information appeared, but nothing happened for several seconds (around 10 to 15). Then the error dialog appeared.
I attached the log file.
the auto_save created a file called "_autosave5.tmp", which seems to be the current autosave-file and the error-message I get when selecting it for Game-Load is:
"Result too large".
But that might just be because it's a temporary file and the autosave itself failed, considering that that file is not as large as the normal autosave-files (~4 MB normally, ~1MB is the temp autosave file).
[14.22] Crash on autosave
[14.22] Crash on autosave
- Attachments
-
- factorio-current.log
- (17.76 KiB) Downloaded 112 times
Re: [14.22] Crash on autosave
I am afraid the game ran out of memory. You can lower graphics quality in graphics options to free some space used by sprites, but it will start crashing again as you explore more of the map.
The issue is processes are limited to 2GB of RAM on 32bit Windows.
The issue is processes are limited to 2GB of RAM on 32bit Windows.
Re: [14.22] Crash on autosave
Well, interestingly, I'm still playing the game. I just loaded the previous autosave and have now been playing for 2 more hours without any more crashes. Didn't have any problem with subsequent autosaves.
It seems to me as there is some kind of issue with the autosave which rarely fills up the memory needlessly.
It seems to me as there is some kind of issue with the autosave which rarely fills up the memory needlessly.
Re: [14.22] Crash on autosave
Autosave allocates 20 MB buffer to which it captures part of game state before writing to disk in order to write the save to disk as fast as possible.
It is unusually big allocation (compared to rest of the game) so it is most common place to crash when the game is running out of memory.
It is possible there is some small memory leak (we will investigate), it is also possible the memory got so fragmented it couldn't find continuous chunk of 20MB to use.
This is one of the reasons we have decided release only 64bit builds in future updates. I am sorry. https://www.factorio.com/blog/post/fff-158
It is unusually big allocation (compared to rest of the game) so it is most common place to crash when the game is running out of memory.
It is possible there is some small memory leak (we will investigate), it is also possible the memory got so fragmented it couldn't find continuous chunk of 20MB to use.
This is one of the reasons we have decided release only 64bit builds in future updates. I am sorry. https://www.factorio.com/blog/post/fff-158
Re: [14.22] Crash on autosave
Note: it allocates the 20 MB in 1 MB chunks so fragmentation shouldn't be an issue.posila wrote:Autosave allocates 20 MB buffer to which it captures part of game state before writing to disk in order to write the save to disk as fast as possible.
It is unusually big allocation (compared to rest of the game) so it is most common place to crash when the game is running out of memory.
It is possible there is some small memory leak (we will investigate), it is also possible the memory got so fragmented it couldn't find continuous chunk of 20MB to use.
This is one of the reasons we have decided release only 64bit builds in future updates. I am sorry. https://www.factorio.com/blog/post/fff-158
If you want to get ahold of me I'm almost always on Discord.