Game crashed on savegame when switched from 64bit to 32bit

Title:
Game crashes on savegame when switched from 64bit to 32bit

Summary:
19 villagers town crashed; “out of memory” in 64bit mode, i wanted to try the savegame again in 32bit mode and the engine error pops-up

Steps to reproduce:

  1. switched from 64bit to 32bit
  2. load a savegame with 27days and 19 villagers
  3. Error pops-up
  4. game crashes few seconds/minutes later.

workaround
don’t use the savegame in 32bit mode.

Expected Results:
The savegame be loaded

Actual Results:

Notes:
At an issue with water in this savegame.

Attachments:
gamecrashes.evtx (68 KB)
gamecrashes1.evtx (68 KB)

Version Number and Mods in use:
Alpha 13

32 bits may trigger more bugs. But why did you switched to 32 bits ? Is there any reason ?

I had two issue related due memory crashes (64bit version). so i thought to try-out 32bit for a bit and if loading savegames between architectures works.I didn’t know that 32bit might have more issue.

Other savegames are working with 32bit. only this one will crash due Engine Error.

What are your PC performances ? (Processor, Memory, Video Card)

Well, if the game crashed in 64 bit mode due to a lack of memory, there is no way it will work in 32 bit mode. The biggest difference between 32 bit mode and 64 bit mode (from a PC architecture perspective) is the amount of memory an application can address. 32 bit applications can address a (theoretical) maximum of 4 GB. However, in practice it is unlikely for an application running on a modern operating system to be able to address more than ~3.5 GB, assuming nothing else is running. To the best of my knowledge, Stonehearth is able to address 2 GB in 32 bit mode.

In general, @Albert recommends that 64 bit mode be used consistently, as you will run out of memory very quickly on 32 bit mode.

1 Like

It’s a bit old, but I have the recommend specs.
Operating System
Windows 10 Pro 64-bit
CPU
Intel Core 2 Quad Q9550 @ 2.83GHz
Yorkfield 45nm Technology
RAM
8,00GB Dual-Channel DDR2 @ 533MHz (5-5-5-15)
Motherboard
Gigabyte Technology Co. Ltd. EP45-UD3LR (Socket 775)
Graphics
SMBX2450 (1920x1080@60Hz)
4095MB NVIDIA GeForce GTX 770 (MSI)
Latested NVIDIA drivers 361.43

1 Like

Thanks @jomaxro for the additional information.

I’m running 64bit again. and noticed that there are two same executables running. I have looked up an event which tells me it crashed on virtual memory. the following programs used the most virtual memory
Stonehearth.exe (1268) uses 5271437312 bytes,
Stonehearth.exe (7012) uses 2110087168 bytes

I’ll be honest in that I have never paid attention to that. My guess would be that one of the processes is the “client” and one is the “server” based on the way SH works , but I am honestly not sure. Let me ask the devs to get a better answer…

Edit: Got confirmation from Albert that my above statement is correct.

1 Like