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?
[Solved] Finding out why save is so big
-
- Filter Inserter
- Posts: 275
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
[Solved] Finding out why save is so big
Last edited by DarkShadow44 on Wed Nov 10, 2021 12:19 pm, edited 1 time in total.
Re: Finding out why save is so big
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.
-
- Filter Inserter
- Posts: 275
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Finding out why save is so big
Well, it's encoded in combinators - which are all deleted.
Re: Finding out why save is so big
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.
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.
-
- Filter Inserter
- Posts: 275
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: Finding out why save is so big
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?
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?
Re: [Solved] Finding out why save is so big
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
-
- Filter Inserter
- Posts: 275
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: [Solved] Finding out why save is so big
Ah, so my entire deleting was put into the queue. That makes sense, thanks!