16KB limit on save files?
Moderator: Oberlus
16KB limit on save files?
I have had problems in two games in a row where the auto save and save function both error out. The common point may be when the save file is greater then 16KB. New install, Win10, and version v0.4.6[2016-09-16.49F9123]. Its late in the games and "winning" is not really in doubt, but its annoying since there is the error message every turn.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: 16KB limit on save files?
Do you mean 16 MB? A turn 1 autosave should be ~ 80 KB with default settings.Fuzzer wrote:The common point may be when the save file is greater then 16KB. New install, Win10, and version v0.4.6[2016-09-16.49F9123].
Such an error could occur if it's unable to allocate enough memory to store all the save data, and as a result can't decompress it.
Have you tried enabling binary save serialization?
- Attachments
-
- binary serialization option
- binary_serialization.png (189.84 KiB) Viewed 1548 times
Re: 16KB limit on save files?
I did indeed mean 16MB. The last save that worked was 16091KB. I will try the Binary save file. I had not noticed it under the "Other" tab. Thanks.
Re: 16KB limit on save files?
It seems to have worked. The save files bloated up to 64MB, but working well.
Thanks!
Thanks!
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: 16KB limit on save files?
Could you clarify how the error first appeared? When saving, or when trying to load a previously-successfully created save?
Re: 16KB limit on save files?
It started on a save, and also effected auto saves. (May have started on the auto saves as well, but I think not...) The save would error out, and the save file would be 0KB, same as for the auto saves.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: 16KB limit on save files?
In that case, another instance of backup-code could be added to revert to binary save if the compressed XML save fails.