[1.1.68] Factorio freezes always at the exact same moment

This subforum contains all the issues which we already resolved.
Post Reply
Doenbo
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 09, 2022 12:32 pm
Contact:

[1.1.68] Factorio freezes always at the exact same moment

Post by Doenbo »

Hey guys. I've been playing this game for a long time and have a save file at over 200 hours worth of active playtime. But since a week or so, my game keeps freezing. If i load my last save file, it always freezes after the exact same time. I guess, something is happening then, that the game can't handle. I deactivated all mods, but it is still happening. (I use Windows 10)
Is there a way to find out, what it is? I check the logging under "%appdata%\Factorio\factorio-current.log", but there is not much info. Any way to improve the log, so it gets more entries or is there another way to find out whats happening?

Loewchen
Global Moderator
Global Moderator
Posts: 8340
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Loewchen »

Post a link to the save and the log after a session with the issue, see 3638.

Doenbo
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 09, 2022 12:32 pm
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Doenbo »

Attachments
factorio-current.log
(4.94 KiB) Downloaded 71 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13223
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Rseding91 »

Thanks for the report. The issue is due to you having so many roboports that are losing power and deactivating and then re-activating once they have power again. That in combination with how many tile ghosts you have queued to build but not being built is causing it to take a *very* long time to complete.

I've improved the performance of this specific case for the next release but if you let it sit, it will eventually continue.
If you want to get ahold of me I'm almost always on Discord.

User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by ickputzdirwech »

May I asked how such wonders are achieved?
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

Rseding91
Factorio Staff
Factorio Staff
Posts: 13223
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Rseding91 »

ickputzdirwech wrote:
Fri Sep 09, 2022 5:30 pm
May I asked how such wonders are achieved?
What part?
If you want to get ahold of me I'm almost always on Discord.

User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by ickputzdirwech »

Rseding91 wrote:
Fri Sep 09, 2022 5:07 pm
I've improved the performance of this specific case for the next release
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

Rseding91
Factorio Staff
Factorio Staff
Posts: 13223
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Rseding91 »

Previously when a roboport would activate it would go over each thing known to be out of the construction area(s) of roboports on that force and check if they were within range of that roboport.

I change it to store the area(s) of each roboport activated this tick and at the start of the next tick go over those areas all at once and do the same check. The main difference being the new approach has much better memory locality due to the areas to check being in one block of memory and only touching each thing out-of-network once for all the roboports enabled this tick rather than N times.
If you want to get ahold of me I'm almost always on Discord.

Doenbo
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 09, 2022 12:32 pm
Contact:

Re: [1.1.68] Factorio freezes always at the exact same moment

Post by Doenbo »

Thanks you so much for your very quick and hard work. I have waited for the freeze to be over and can now continue playing again! :D

Post Reply

Return to “Resolved Problems and Bugs”