Duke4.net Forums: Cache space all locked up error on r8240 and later - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cache space all locked up error on r8240 and later

User is offline   Danukem 

  • Duke Plus Developer

#1

Cannot start Alien Armageddon mod on any revision r8240 or later. Always get cache space all locked up error. Log attached.

Quote

Cache used: 100581376
Remaining: 81920
Total size: 100663296
Num blocks: 1880
fatal_exit(CACHE SPACE ALL LOCKED UP!) at source/build/src/cache1d.cpp:202 i

Attached File(s)


0

#2

View PostTrooper Dan, on 27 October 2019 - 01:01 AM, said:

Cannot start Alien Armageddon mod on any revision r8240 or later. Always get cache space all locked up error. Log attached.


It looks like the mod has reached the default cache limit. Did you try increasing the cache size through your DUKE3D.DEF file?

Put
cachesize 262144
at the start of the file to increase it from 96MB to 256MB.
2

User is offline   Danukem 

  • Duke Plus Developer

#3

Yes, that fixed it, thanks. But I thought it was supposed to automatically increase the cache size when needed.

EDIT: Also, the exact same version of my mod does not lock up all the cache space on previous eduke revisions.

This post has been edited by Trooper Dan: 27 October 2019 - 01:21 AM

0

#4

View PostTrooper 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.

This post has been edited by Doom64hunter: 27 October 2019 - 01:35 AM

0

#5

r8229 had a lot of changes involving the cache: r8229 changelog
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options