Dev 2609 x64 - Memory Leak, Process spawning and high CPU

Going to try and get some screenshots and details.

What’s happening is that at around 19 hearthlings I start seeing significant performance issues. Originally I assumed it was engine or a slow memory leak. Turns out the game is spawning a 2nd instance of stonehearth.exe and rapidly going to high CPU / Memory.


  • The below error seems to kick it off:

develop-2609 (x64)
radiant/modules/events.luac:40: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert’
radiant/modules/events.luac:40: in function ‘trigger_async’
…/components/combat_state/combat_state_component.luac:85: in function 'remove_attack_leash’
stonehearth/services/server/unit_control/party.luac:95: in function '_update_leashes’
stonehearth/services/server/unit_control/party.luac:76: in function '_update_party’
stonehearth/services/server/unit_control/party.luac:16: in function <stonehearth/services/server/unit_control/party.luac:13>

Followed by

develop-2609 (x64)
c++ exception: lua runtime error
stack traceback:

Not long after starting I see a 2nd Stoneharth process start

What happens next is the CPU and Memory from both Stonehearth processes climbs quickly (5-10mins) and reaches max CPU and high memory

The UI stops responding, though the game continues to play out. I can click on the characters but I can’t interact with the UI at all or the menu system.

This is the end state, I am not longer able to control the game, but I can move the camera around (with lag) and click on objects. I am not able to interact with them in any way.

When ending Stoneheath from right clicking on the task bar close window the 2nd Stonehearth process remains active consuming both CPU and Memory.


Savegame link here, you need to play for a little for the issue to start.


glad to see you provided a save file, @Albert will probably want to take a look at that.


Having 2 Stonehearth processes is normal. What is not normal is that one of them doesn’t disappear after closing the game…

1 Like

This is happening to me too!