[Solved] Finding out why save is so big

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

[Solved] Finding out why save is so big

Post by DarkShadow44 »

So, I took a map from the forum (the sandstorm movie player) and deleted everything in there. For some reason, the map is still huge though.
My question now is, what makes this map so huge, and how do you figure that out?

Map download here

Might be a stupid question, but I really wonder how it can remain that big when all the chunks got deleted. Maybe some lua tables from removed mods?
Last edited by DarkShadow44 on Wed Nov 10, 2021 12:19 pm, edited 1 time in total.

Koub
Global Moderator
Global Moderator
Posts: 7175
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Finding out why save is so big

Post by Koub »

Iirc, the movie data itself is stored in map files within the save. I'm sure Dave posted the way he encoded the video and stored it into the save in his post.
Koub - Please consider English is not my native language.

DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

Re: Finding out why save is so big

Post by DarkShadow44 »

Well, it's encoded in combinators - which are all deleted.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Finding out why save is so big

Post by posila »

It's output console (~50 MB) and undo queue (~150 MB)

You can get some stats in the log by enabling Settings -> Other -> Log saving statistics; These particular items are not part of the statistics logging, bacause console keeps only 50 last messages and that is usually negligible, and undo queue is too new for having saving stats ... So I added both of them for the next release.

DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

Re: Finding out why save is so big

Post by DarkShadow44 »

Many thanks, this explains a lot!
I didn't see there was a recipe dump in the console, and undo queue, well, that makes sense.
Btw, is there a way to clear the undo queue when you see it gets too big?

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Solved] Finding out why save is so big

Post by posila »

Undo queue is limited to 100 items, so building 100 of something one by one (you can drag-build) would push out large undo items with tiny ones

DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

Re: [Solved] Finding out why save is so big

Post by DarkShadow44 »

Ah, so my entire deleting was put into the queue. That makes sense, thanks!

Post Reply

Return to “Technical Help”