I could really use some help trying to save my megabase from UPS death
Posted: Thu Jan 31, 2019 1:26 am
My AngelBob megabase which isn't even 20% done has two problems:
1) UPS has dropped to 22
2) The game has grown to often exceed 10g while running, causing Windows to hard crash and forcing a cold reboot
Sometimes the memory usage drops down to 4-5g and the game keeps running fine, as though it has performed some massive cleanup, but I can't trigger this behavior at will. I could get another 16g stick of ram and deal with it, but the other issue is the UPS. I've spent about 10 hours trying to track down which active entities are dragging things down. Most of the megabase is not yet built, and all I've done is lay rails and reveal parts of the map and it feels like that's what's hurting things.
Map, Time Usage, Entity Types, Active Chunks
https://imgur.com/a/XDSFwFh
The game is quite large and the modlist is extensive so I don't actually expect anyone to download it but it's here.
https://www.dropbox.com/s/t7sl9y4lvxw4l ... s.zip?dl=0 (200MB)
https://www.dropbox.com/s/00xhu0dbrj0ljvr/mods.rar?dl=0 (731MB)
I've been using the documentation on the lua runtime to try some things:
-Deleting all biters and nests got me some UPS but only raised it to 22.
-Deleting all pipes only got me ~1 UPS
-Deleting all belts only got me ~1 UPS
-Deleting all active bots got me no UPS
-Deleting all locomotives got me no UPS
-Deleting all decoratives on the surface got me 1 UPS
-Deleting all 300,000+ fish got me no UPS
-Deleting rail signals or rails hangs the game unless done in very small batches
-Deleting all radars got me ~2 UPS
-Deleting all lamps got me no UPS
-Deleting all trees/rocks/resource/simply-entity/item-entity in a big radius only seems to help a tiny bit, and only while I stay in that area
-Tearing down my nuclear facility got me no UPS
-Tearing down vast swaths of my existing base got me no UPS
-Disabling all mods but the bare minimum AngelBob's setup got me about 8 UPS, and I think this is mostly Miniloaders. If all the loaders are gone then nothing is running so I can't tell how much of that is from the mod versus things simply being inactive.
My save used to be at 50 UPS, and all I've done since then is reveal and clear chunks and build rails. I have barely got around to building the actual base parts. The game doesn't provide any more detailed breakdown of entity update time consumption and randomly deleting things seems to be getting me nowhere. I've googled until steam has shot out of my ears and none of the infamous UPS-eaters seems to be responsible. I've tried enumerating entities on the neutral force to count their types but there seem to be so many that the game runs out of memory and crashes even if I limit it to an operation on a small batch of entities, like 500. There don't seem to be any superfluous active chunks or obvious indicators of tons of entities that shouldn't be there. I'm at a loss.
Anyone have any ideas? I've put probably 100 hours into this particular save and I don't want it to die. The rail system is large but I've built similarly large rail systems before and they haven't tanked like this.
1) UPS has dropped to 22
2) The game has grown to often exceed 10g while running, causing Windows to hard crash and forcing a cold reboot
Sometimes the memory usage drops down to 4-5g and the game keeps running fine, as though it has performed some massive cleanup, but I can't trigger this behavior at will. I could get another 16g stick of ram and deal with it, but the other issue is the UPS. I've spent about 10 hours trying to track down which active entities are dragging things down. Most of the megabase is not yet built, and all I've done is lay rails and reveal parts of the map and it feels like that's what's hurting things.
Map, Time Usage, Entity Types, Active Chunks
https://imgur.com/a/XDSFwFh
The game is quite large and the modlist is extensive so I don't actually expect anyone to download it but it's here.
https://www.dropbox.com/s/t7sl9y4lvxw4l ... s.zip?dl=0 (200MB)
https://www.dropbox.com/s/00xhu0dbrj0ljvr/mods.rar?dl=0 (731MB)
I've been using the documentation on the lua runtime to try some things:
-Deleting all biters and nests got me some UPS but only raised it to 22.
-Deleting all pipes only got me ~1 UPS
-Deleting all belts only got me ~1 UPS
-Deleting all active bots got me no UPS
-Deleting all locomotives got me no UPS
-Deleting all decoratives on the surface got me 1 UPS
-Deleting all 300,000+ fish got me no UPS
-Deleting rail signals or rails hangs the game unless done in very small batches
-Deleting all radars got me ~2 UPS
-Deleting all lamps got me no UPS
-Deleting all trees/rocks/resource/simply-entity/item-entity in a big radius only seems to help a tiny bit, and only while I stay in that area
-Tearing down my nuclear facility got me no UPS
-Tearing down vast swaths of my existing base got me no UPS
-Disabling all mods but the bare minimum AngelBob's setup got me about 8 UPS, and I think this is mostly Miniloaders. If all the loaders are gone then nothing is running so I can't tell how much of that is from the mod versus things simply being inactive.
My save used to be at 50 UPS, and all I've done since then is reveal and clear chunks and build rails. I have barely got around to building the actual base parts. The game doesn't provide any more detailed breakdown of entity update time consumption and randomly deleting things seems to be getting me nowhere. I've googled until steam has shot out of my ears and none of the infamous UPS-eaters seems to be responsible. I've tried enumerating entities on the neutral force to count their types but there seem to be so many that the game runs out of memory and crashes even if I limit it to an operation on a small batch of entities, like 500. There don't seem to be any superfluous active chunks or obvious indicators of tons of entities that shouldn't be there. I'm at a loss.
Anyone have any ideas? I've put probably 100 hours into this particular save and I don't want it to die. The rail system is large but I've built similarly large rail systems before and they haven't tanked like this.