[Oxyd] [0.17.59] insane large save file (>500MB)

This subforum contains all the issues which we already resolved.
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

[Oxyd] [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

Hello guys.
I have a map started for 0.17. now played over 150h. The map is not very large comapared to my others. But this save file (.zip) is over 500MB. In fact it is so big, I have problems saving and loading this map. First the screen freezes and than it takes around one minute for the saving (/loading) process. This appeared some hours after I switched from version 0.17.58. There was no transition. Before it always saved in two or three seconds.

The area I have discovered is about 150 chunks in radius around the spawn. I have almost build everthing for 10k SPM. I had maps in other versions that are larger and only had 20MB and are working with 2k SPM. I have some minor issues with performance due to my exzessive use of nuclear power (around 15GW). But this is no problem, I plan to switch to solar.

I use:
Atomic Artillery 0.1.9
Dectorio 0.9.9
EvoGUI 0.4.401
LogisticsTrainNetwork 1.10.4
MushroomCloud 1.0.5
OpteraLib 0.1.1
qol_research 2.3.1

Obviously the save file is to big to upload, maybe I can send it to you.

I hope you can help me
Chrisz11

PS: You make a great job, thank you.
Attachments
factorio-current.log
(6.7 KiB) Downloaded 172 times
posila
Factorio Staff
Factorio Staff
Posts: 5344
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by posila »

Thank you for taking the time to post the bug report.

Could you share the save file somewhere? (Google Drive, Dropbox, WeTransfer, ...)

If it is too large for you to upload, open Settings -> Other and enable "Log saving statistics", save the game and then post new factorio-current.log here.

Then in-game press F4, enable "show-detailed-info" and make a screenshot; then disable it and run command

Code: Select all

/c game.player.print_entity_statistics()
and make another screenshot. (You'll probably get warning about commands disabling achievements, if that happens, run it again and don't save the game after that)
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

Sry, didn't see option to create a link.
save file: https://we.tl/t-H87yMCUULg
screenshots: https://we.tl/t-jF1LzxnBGX
posila
Factorio Staff
Factorio Staff
Posts: 5344
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by posila »

Thanks. I've mirrored it to my Dropbox, just in case it expires on WeTransfer: https://www.dropbox.com/s/tfvf6dbto18f7 ... d.zip?dl=0

So far it looks as something related to biters. Most of the save file size is taken by unit commanders.
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

Thanks.

Indeed there is a problem with the biters. If I kil all biters by command the file size drops to 115MB. If I set the world to peaceful afterwards there is no additional loss.
bobthescv
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Jun 25, 2019 9:11 pm
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by bobthescv »

I have also seen a drastic upward spike in save game size, went from being ~20 Mb and fast to save to 80 Mb and drastically slower to save.
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

After biters are killed and I continue playing, after a while the file size is again rising fast.
ASemenov
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Jun 21, 2017 8:07 pm
Contact:

Re: [0.17.59] insane large save file (>500MB)

Post by ASemenov »

I've been seeing similar issues since the last update. The file has increased from 80MB to almost 500MB and it takes a very long time (up to minute). Vanilla
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] [0.17.59] insane large save file (>500MB)

Post by Oxyd »

I suppose it's a tradeoff between biters not being able to go around lakes and saves becoming massive.

I tipped the balance back in favour of biters not pathfinding, which should make your saves smaller.
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

Re: [Oxyd] [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

:) Thank you for your fast work
ASemenov
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Jun 21, 2017 8:07 pm
Contact:

Re: [Oxyd] [0.17.59] insane large save file (>500MB)

Post by ASemenov »

The update did not fix the situation. The file is approaching the size of 1GB
Chrisz11
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 28, 2019 10:25 am
Contact:

Re: [Oxyd] [0.17.59] insane large save file (>500MB)

Post by Chrisz11 »

My save is down to 95MB. Looks like it worked for me.
Loewchen
Global Moderator
Global Moderator
Posts: 9148
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [Oxyd] [0.17.59] insane large save file (>500MB)

Post by Loewchen »

ASemenov wrote: Fri Aug 02, 2019 9:30 pm The update did not fix the situation. The file is approaching the size of 1GB
Then you do not have the issue reported here, make dedicated report and include a link to your save please.
Post Reply

Return to “Resolved Problems and Bugs”