Nanite-Construction-System / NaniteConstructionSystem

A continuation of scripts for the Nanite Construction System
14 stars 13 forks source link

Potential Memory Leak #160

Closed Vrishnak92 closed 3 years ago

Vrishnak92 commented 4 years ago

I've been noticing an issue as of late that causes the game to take forever to save, causes players who are joined to be dropped from the game, and also causes the nanite factories to freeze up their production. My current guess is that the mod, namely the facilities themselves are causing a memory leak in the game. Sadly, i couldn't include last nights (early this morning) sessions nanite logs since it only keeps one copy, but i have included the logs for space engineers as well as my short play session just earlier.

The short play session wasn't experiencing quite the scale of issues i saw last night, but i was having some delay in the speed of the game save, and attempting to close the server/world to the main menu also softlocked the game, forcing me to close the game through task manager, of which it did not stop using system memory for a good 10 minutes.

One thing to note at this time, I do have multiple nanite facilities constructed (three). I mention this as I saw githubs mention issues with using multiple facilities. I will post more logs as I run more sessions that I experience issues with.

I will also make a thread reply on the Steam discussion page. Let me know if there is anything else i can do on my end to help track this issue down.

Pastebin links https://pastebin.com/hScctf0v nanite log https://pastebin.com/uv2uz3H0 part 1 of 8/4 2:56 am se log https://pastebin.com/E9uhGSVF part 2 of 8/4 2:56 am se log https://pastebin.com/R0L9ACPg 8/4 3:04 am se log https://pastebin.com/UR5UC7iP 8/4 11:38 am se log (despite being a short session, this one forced me to close the game with task manager