Space Engineers

Space Engineers

[OBSOLETE] Planetary Cargo Ships
Psyborg Aug 24, 2018 @ 6:56am
Huge RAM usage on ship despawn on 1.187.2
I've been running succesfully an DS server @ Pingperfect with Planetary Cargo Ships and some other mods.
After the recent update (1.187.2) the server kept running ok for a few hours and suddenly crashed (some C++ error).
After restart the server is getting sudden huge RAM usage on ship despawns, and the logfile entries look like these:

14:28:55.9918 [DEBUG] Keen: GC Memory: 3,653,890,448 B
14:28:56.5567 [DEBUG] Keen: MyGlobalEvents.StartGlobalEvent: MyObjectBuilder_GlobalEventBase/SpawnCargoShip
14:28:56.5567 [DEBUG] Keen: Could not spawn event. Try 2 of 3
14:29:06.5563 [DEBUG] Keen: MyGlobalEvents.StartGlobalEvent: MyObjectBuilder_GlobalEventBase/SpawnCargoShip
14:29:06.7278 [DEBUG] Keen: Could not spawn event. Try 3 of 3
14:29:16.7172 [DEBUG] Keen: MyGlobalEvents.StartGlobalEvent: MyObjectBuilder_GlobalEventBase/SpawnCargoShip
14:29:16.7172 [DEBUG] Keen: MyGlobalEvent.RecalculateActivationTime:
14:29:16.7172 [DEBUG] Keen: Next activation in 00:05:56.1744160
14:29:17.5845 [INFO] Keen: Planetary Cargo Ships: Atmospheric Cargo Ship ::(NPC-ATM) Super Gremlin:: Reached Despawn Destination
14:29:34.0964 [DEBUG] Keen: GC Memory: 6,738,208,264 B
--------
14:36:34.3070 [DEBUG] Keen: GC Memory: 3,519,608,392 B
14:36:45.7883 [INFO] Keen: Planetary Cargo Ships: Atmospheric Cargo Ship ::(NPC-ATM) Transport Courier:: Reached Despawn Destination
14:37:09.1655 [DEBUG] Keen: GC Memory: 4,935,175,288 B
--------
14:46:06.4256 [DEBUG] Keen: GC Memory: 3,643,321,080 B
14:46:16.9396 [INFO] Keen: Planetary Cargo Ships: Atmospheric Cargo Ship ::(NPC-ATM) Transport Courier:: Reached Despawn Destination
14:46:39.4875 [DEBUG] Keen: GC Memory: 6,307,346,560 B
--------
Each time it occurs, the server freezes for up to 30 seconds.
Until yesterday it was all running ok...
Last edited by Psyborg; Aug 24, 2018 @ 6:58am
< >
Showing 1-5 of 5 comments
Meridius_IX / Lucas  [developer] Aug 24, 2018 @ 2:36pm 
I can't reproduce this issue on my end. Been running the mod on my own DS and ships will despawn without issue. I'm waiting on another log from another user reporting a similar issue, so hopefully I can connect some dots on what could be causing it.
vishubox2 Aug 25, 2018 @ 12:02am 
Originally posted by Meridius_IX / Lucas:
I can't reproduce this issue on my end. Been running the mod on my own DS and ships will despawn without issue. I'm waiting on another log from another user reporting a similar issue, so hopefully I can connect some dots on what could be causing it.
hi i have another log like this
we removed air traffic and cargoships to see if it works, but to no solution..
i have a full log link if u want
Psyborg Aug 25, 2018 @ 1:56am 
I've been able to narrow down this issue to a mod conflict. At least partially...

When I removed "Automated Beam Drill [Performance improvements!]" mod (https://steamcommunity.com/sharedfiles/filedetails/?id=681276386) the high usage of RAM on despawn stopped.

I'm still getting server crashes though... but I'm not sure yet what's causing them...

01:29:11.5206 [DEBUG] Keen: GC Memory: 3,482,081,648 B
01:29:41.5354 [DEBUG] Keen: GC Memory: 3,478,285,976 B
01:30:00.2502 [DEBUG] Keen: STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemory,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory
01:30:00.2522 [DEBUG] Keen: STATISTICS,4141.1500001953,0.006721497,0.02451229,0.2617083,0.4832516,35.87018,131.3679,17.83643,0.9622386,1,0,3294.672,3614.137,47038,-47038,68,0,0,0,0
01:30:11.5532 [DEBUG] Keen: GC Memory: 3,455,557,288 B
01:30:30.6520 [DEBUG] Keen: MyGlobalEvents.StartGlobalEvent: MyObjectBuilder_GlobalEventBase/SpawnCargoShip
01:30:30.6520 [DEBUG] Keen: Could not spawn event. Try 1 of 3
01:30:31.1694 [DEBUG] Keen: SEHException caught. Error code: -2147467259
Klingon Mage Aug 29, 2018 @ 7:08am 
Hello,

I have started having similar issues to this on my own PingPerfect server, however, I think the cause of my issue might be the server running when empty and pirate drones attacking non-pirate grinds (thanks to that script that extends antenna range), crashing and not being cleaned up (since they are closer than 150m to ground?). I have not had a chance to actually investigate the grids in the server yet however.

I should note that I have not had the crashing issues, save for when RAM usage gets too high and PingPerfect caps usage.

I'm going to mess around with my setup and tidy up my world a bit. I will report back if I fix or fail to fix the issue.

That all said, I'm running like 24 mods with no block limits. So, make of my info what you will.

Dezaraman Aug 30, 2018 @ 3:24am 
I am having the same issue
< >
Showing 1-5 of 5 comments
Per page: 1530 50