I am trying to tune my cache settings. In particular the number of objects that I want to allow in the cache. I would like to determine how large my cache is in bytes while debugging so that I can set the max number of elements in the cache appropriately. The API seems to indicate that I can get the size of an item in the cache with the getSize() method. However, this is not working for me. I always get 0. What am I doing wrong?
BTW.. I am using the LRUMemoryCache. Thanks in advance, Ken ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF **************************************************************