Hi,
I get from time to times a CTD if the game make a Auto Save. With some MOD´s, I´m not sure if it also comes in the not modded game. SV 9.01.04 all DLC activated.
Best Regards
Neiwin
CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
- David
- Community and Marketing Manager at Enlight
- Posts: 10419
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 223 times
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
Please provide the save game and we will look into it.
-
- Translation Contributor
- Posts: 110
- Joined: Sun Aug 06, 2023 8:12 pm
- Has thanked: 7 times
- Been thanked: 1 time
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
This is one of the corrupted save file. SV 9.1.04 MOD: GLOBCAP V1
But it happen also with others MODs.
But it happen also with others MODs.
- David
- Community and Marketing Manager at Enlight
- Posts: 10419
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 223 times
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
It is due your computer not having insufficient memory to run the compression function to compress the game data before save the game. Do you have a save game file before the corrupted one? The dev team would like to look at it and see if there is any way to improve it to reduce the memory usage.
-
- Translation Contributor
- Posts: 110
- Joined: Sun Aug 06, 2023 8:12 pm
- Has thanked: 7 times
- Been thanked: 1 time
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
Hi thank you for testing. The save file is to large (~28MB) for an attachment.
I have round about 9GB not used RAM while the game is running. This is 10 times the space for the entire game.
Best regards
I have round about 9GB not used RAM while the game is running. This is 10 times the space for the entire game.
Best regards
- David
- Community and Marketing Manager at Enlight
- Posts: 10419
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 223 times
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
I'd like to update you that the programmer has been looking into this and working on a solution.
- David
- Community and Marketing Manager at Enlight
- Posts: 10419
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 223 times
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
The dev team has updated me that the error occurred when the compression function (which use a ZIP library) needs to allocate a continuous block of memory in order to compresses data before saving it into a savegame file.
While your computer shows that it has several GB of memory, the memory is fragmented and thus it is unable to allocate a continuous memory block large enough for the compression process (could range from tens of MB to a couple hundred MB depending on your game data size).
In general, only games that use MODs with a huge product variety and a large number of AI competitors and cities may experience this kind of memory error.
The good news is that the dev team told me that they will try to work on a new method to mitigate this in the next major update v10.0.
While your computer shows that it has several GB of memory, the memory is fragmented and thus it is unable to allocate a continuous memory block large enough for the compression process (could range from tens of MB to a couple hundred MB depending on your game data size).
In general, only games that use MODs with a huge product variety and a large number of AI competitors and cities may experience this kind of memory error.
The good news is that the dev team told me that they will try to work on a new method to mitigate this in the next major update v10.0.
-
- Translation Contributor
- Posts: 110
- Joined: Sun Aug 06, 2023 8:12 pm
- Has thanked: 7 times
- Been thanked: 1 time
Re: CTD With Error on File : C:\CLsrc\ilib\Mem.cpp Line : 289
Thank you, yes I have save files with near 80MB modded and 15 cities.