Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

What is the size and TTL for the shared (default) cache when it's not used?

When the cache is never used (I might be using a cache I configured), what does the default cache use in the way of system resources? How much space does it occupy?

0 1 654
1 REPLY 1

Not applicable

TTL for the entries in default cache is 300 seconds --- I tested this on one my environments .

Regarding the size , pls find below my observations

#1. Total memory that we want to use for all caches though this will not be reserved . You will find this on Mps but I am not sure if this is being used .

# The total amount of memory that is usable for caching. The system will not # allow the user to configure a cache if the size of all the existing caches # together exceeds this amount #totalCacheMemorySizeKB=200056

#2 . I had 4 caches in my env + the default cache .

#3 . When I captured the heapdump on this env , I observed that only ~3MB was used by all the cache objects including the default which I never used.

#4 Further filtering I observed that the shallow + retained = ~ 3 kb for the default cache .