Trooper Dan, on 27 October 2019 - 01:18 AM, said:
Yes, that fixed it, thanks. But I thought it was supposed to automatically increase the cache size when needed.
Nah, I'm pretty sure it's a static limit. Usually it can just evict entries if the cache is full, and crashes only occur if this limit is reached with unevictable entries during startup (probably due to preloaded sounds). The AMC TC encountered this problem a while ago, due to the ever-increasing amount of content. EDIT: It's worth noting that Ion Fury manually sets the cachesize as well to accomodate for the amount of tiles and sounds they have.
It's possible that something changed in the way sounds are loaded that is using more space than normal, or perhaps the default limit was decreased?
What does get resized dynamically as of recent is an internal datastructure that keeps track of the cache entries. It used to be fixed-size as well, but that could lead to sporadic crashes during gameplay, also depending on the amount of tiles in the mod.