While playing CDDA on a low-RAM device (2GB total of which 1.5GB was free for CDDA to use) it started lagging so I decided to save and restart. Mid-save (at something like 14k/38k map chunks) device ran out of RAM completely and froze. I rebooted it but upon loading discovered that the slightly modded Humvee I was driving disappeared from under my character setting me back severely. At least the world is loadable, even if some stuff is missing or doubled (some stuff I already looted between the saves was back in its place and in my backpack).
Can saving be done safer? Akin to how filesystems change files, write a save to a completely new directory then rename the directories appropriately. Or something of the sort. If saving uses some optimizations to speed up the process of writing to the already existing world perhaps keeping two folders and simply changing a single link pointing at the latest one would suffice, making the speed about the same while only taking up twice the disk space. Or, I dunno, use Git as internal DB for saves.