GrindThisGame Posted October 11, 2018 Share Posted October 11, 2018 At around cycle 4500 my save file has grown incrementally to about 37Mb. After deleting everything (except maybe a few pockets of gas) the save file is still 35Mb. For those of you who know the save file structure.... what the heck is in this file? Is there a snapshot of all past cycles baked into the save? all map deleted.sav Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/ Share on other sites More sharing options...
0xFADE Posted October 11, 2018 Share Posted October 11, 2018 I would imagine all loose stuff has individual data on its mass and temperature and type. Though if you deleted everything I dunno. Perhaps there is quite a large list of dead information in the file now. Sort of like a memory leak. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1092996 Share on other sites More sharing options...
AzeTheGreat Posted October 11, 2018 Share Posted October 11, 2018 Does it save every single report? Even then if that's just text you'd think it should be relatively tiny... Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1092999 Share on other sites More sharing options...
SakuraKoi Posted October 11, 2018 Share Posted October 11, 2018 Apart from the (in gaming&programming common) memory leaks, I would not be surprised if most of it was just the reports of 4500 cycles that take up most of the space. Just how big is a report? 1 KB text would already be 4.5MB and 1 KB is only 1024 characters, at best. For reference all this text is 733 characters. Can you save all the information in a report in 8-9 twitter messages? Even if you consider how compression works and this applies to saves as well, it is is still a pretty big amount of information (simply because Klei likes the critters so much they are also found in the report). In short, only a dev can tell, only they (should) have the tools to break open the file so perhaps the bug tracker would be better. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093007 Share on other sites More sharing options...
GrindThisGame Posted October 11, 2018 Author Share Posted October 11, 2018 Forgot about the reports. Seems like the save file grows by 3kb to 20kb per cycle. I guess throwing away all but the last 100 reports would save some space. I doubt anyone would scroll back 100 reports (or 4500 reports) to see what went down. The autosave and load is probably one of the slowest things at this point. A fresh load takes 2+ mins of a fairly fast system and save takes about 3-5 seconds at cycle 4500. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093016 Share on other sites More sharing options...
Nitroturtle Posted October 11, 2018 Share Posted October 11, 2018 18 minutes ago, GrindThisGame said: A fresh load takes 2+ mins of a fairly fast system and save takes about 3-5 seconds at cycle 4500. I've noticed that on my system, my loads are considerably faster when first launching the game rather than loading while playing. So much so that I always exit to desktop then restart the game if I need to reload a save file. I'd be curious to know if this is consistent for other people. I can't think of any reason it should be faster to exit the game and load than to load in game. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093021 Share on other sites More sharing options...
GrindThisGame Posted October 11, 2018 Author Share Posted October 11, 2018 The same happens for me @Nitroturtle . I can't load a save over an opened game without it freezing crashing. My system has enough memory to hold the state of two complete worlds but it seems like it doesn't purge the current world before opening the new one. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093028 Share on other sites More sharing options...
Lali-Lop Posted October 11, 2018 Share Posted October 11, 2018 6 minutes ago, GrindThisGame said: The same happens for me @Nitroturtle . I can't load a save over an opened game without it freezing crashing. My system has enough memory to hold the state of two complete worlds but it seems like it doesn't purge the current world before opening the new one. That would make a lot of sense with my experiences. If I never reload a save, my memory usage stays pretty low. If I load saves often, it can creep up really close to my system limit. Once, while looking for new map seeds to play (I probably went through about a dozen or more maps), I returned to the main menu, checked my memory usage, and it had skyrocketed. Exiting and restarting the application fixes the problem, which leads me to believe either the game retains map info even after loading a new one, or there is some other kind of data that is collected and not ever being released. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093038 Share on other sites More sharing options...
crypticorb Posted October 11, 2018 Share Posted October 11, 2018 It could be more than just reports as well, my guess is there might be bug tracking data in the save file as well, which after an insane cycle duration can bloat the save file. It's not likely, but it's another possibility. 19 minutes ago, Lali-Lop said: Exiting and restarting the application fixes the problem, which leads me to believe either the game retains map info even after loading a new one, or there is some other kind of data that is collected and not ever being released. I'm wondering if this a true memory leak, and unrelated to the map save files. Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093047 Share on other sites More sharing options...
babba Posted October 12, 2018 Share Posted October 12, 2018 I tripped over this map size thread as I want to start a new map with 4x times the size - How it used to be in the beginning time of the game development. Does someone know if its possible to add blank space to all 4 sides on an already existing save game, altering the map dimensions after the map generation ? Sidenote on FPS: What I noticed is that the pathfinding to the space top area brings the FPS down a lot, it doesnt really matter if I play with 50 or 500 dupes. Map size change info, before seed generation: https://steamcommunity.com/sharedfiles/filedetails/?id=1285243247 https://steamcommunity.com/sharedfiles/filedetails/comments/1285243247 asteroids worldsize 512 x 768 works with space industry, at least here. I tried doubling - Instant crash ( win64,64gb ) Link to comment https://forums.kleientertainment.com/forums/topic/96349-large-save-file-for-empty-map/#findComment-1093523 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.