CacheArrays consume a lot of memory. Right now they are statically sized. They should instead size themselves dynamically, getting smaller as the number of them increases, and getting smaller as they become less recently used.
Refinements:
1. use meta-LRU on the cache arrays themselves,giving more cache space to more recently active arrays.
2. find actual size of objects the arrays refer to, not just the number of entries.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1214585
Originator: YES
Refinements:
1. use meta-LRU on the cache arrays themselves,giving more cache space to more recently active arrays.
2. find actual size of objects the arrays refer to, not just the number of entries.