Summary:
The garbage collector hovers around 10% while the game is paused but fluctuates up to 20+ and the allocated lua bytes. Occasionally while actually playing I have noticed it as high as 59%.
Steps to reproduce:
Start a new game.
Let it run for a minute I guess.
Hit pause and watch the lua_gc
Expected Results:
I would expect the GC to eventually calm down.
Actual Results:
The GC spikes all over the place.
Notes:
None
Attachments:
None
Version Number and Mods in use:
789 (x64) [C] (whatever that c is for)
That is interesting as the only mod loaded was debugtools. Good info to have. After a few checks of adding and removing mods it seems that if you start Stonehearth with dups even when it says it needs to restart to add/remove mods the value for dups stays the same. I suppose the [M] is for unofficial mods then? And thanks @BrunoSupremo
As for the lua garbage, sometimes it runs just after the lua, so we only see the garbage bar. Probably when scanning the map. Could also be a performance problem hidden in the game, but a high bar just means it is running that, it is hard to know why.
Thanks for the explanation. As an example I created a brand new game with no mods and hit pause. Pretty much just the lua_gc running. Not sure it is a bug but it sure looks like it isn’t correct.