[2.0.72] Space Platforms taking UPS when no space platforms exist

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Mr Snrub
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 11, 2020 11:21 am
Contact:

[2.0.72] Space Platforms taking UPS when no space platforms exist

Post by Mr Snrub »

12-03-2025, 21-44-31.png
12-03-2025, 21-44-31.png (716.47 KiB) Viewed 92 times
I went hunting the reason why my UPS was low and found the item Space Platforms was taking up 20.4/18.5/32.7ms to update. I had no idea which space platform was the issue so deleted them one-by-one. Once I had zero space platforms the Space Platforms item was still taking ~20ms to update.

https://wiki.factorio.com/Tutorial:Diag ... s]The Wiki doesn't expand on the Space Platforms item if it does indeed include items that are not related to space platforms (if it does indeed include other items).

Happy to be wrong on this if there is something I'm not picking up on.

I turned all mods off to check on this (other than Space Age mods).
Attachments
Island Nauvis.zip
(174.4 MiB) Downloaded 3 times
Island Nauvis No Space Platforms.zip
(177.5 MiB) Downloaded 2 times
factorio-current.log
(8.21 KiB) Downloaded 3 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4318
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.72] Space Platforms taking UPS when no space platforms exist

Post by boskid »

To the right of the "Add space platform" button you have a "Cancel deletion" that is showing green, which means you have some space platforms that still exist and can be undeleted.

If you want to opt-out of the default 5 minutes graceful period, you can run `/space-platform-delete-time 0` console command and then start deleting the space platforms.

-- edit:

Looking at this save file, the exact cause of the slowdown is a "vulcanus legendary coal 3" space platform which is updating about 3.4M ejected items because the queue of items is unable to flush itself properly due to a memory bitflip making first item reporting as being created at tick 294470895 and expiring at tick 831343307 while the second ejected item reports created at tick 294470896 and expiring at tick 294472396. Save file is at tick 296020716. From this you can count that ejected items usually expire within 1500 ticks, the expiration tick of the first item suffered a bit flip when computing expiration tick and this situation started about 7.2h ago allowing for the 3.4M items to accumulate.
Mr Snrub
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Oct 11, 2020 11:21 am
Contact:

Re: [2.0.72] Space Platforms taking UPS when no space platforms exist

Post by Mr Snrub »

boskid wrote: Wed Dec 03, 2025 11:17 am To the right of the "Add space platform" button you have a "Cancel deletion" that is showing green, which means you have some space platforms that still exist and can be undeleted.

If you want to opt-out of the default 5 minutes graceful period, you can run `/space-platform-delete-time 0` console command and then start deleting the space platforms.

-- edit:

Looking at this save file, the exact cause of the slowdown is a "vulcanus legendary coal 3" space platform which is updating about 3.4M ejected items because the queue of items is unable to flush itself properly due to a memory bitflip making first item reporting as being created at tick 294470895 and expiring at tick 831343307 while the second ejected item reports created at tick 294470896 and expiring at tick 294472396. Save file is at tick 296020716. From this you can count that ejected items usually expire within 1500 ticks, the expiration tick of the first item suffered a bit flip when computing expiration tick and this situation started about 7.2h ago allowing for the 3.4M items to accumulate.
Thank you! I just found the offender as well using your advice. 7.2 hours would be right - I've put up with this while trying to work out if it was a bug or user error.

Can I fix a bit flip or is it just a matter of deleting the space platform (apologies - this knowledge is a bit beyond my skills)?
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4318
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.72] Space Platforms taking UPS when no space platforms exist

Post by boskid »

If you are fine running console commands (which disables achievements in this save) you can run this:

Code: Select all

/c for _,s in pairs(game.surfaces) do if s.platform then s.platform.clear_ejected_items() end end
which deletes all ejected items from all platforms, including the offending one here. If you want a solution without running console commands, then you will have to delete that space platform.
Post Reply

Return to “1 / 0 magic”