So, what is reference data caching? Simplistically, when a transaction issues a database SELECT and returns ten records, the ten records are cached in the JVM. We will go into further details below.
Starting in Yantra 5x 5.0 SP2, caching is enabled by default. The cached records are stored in the JVM heap. Typically, around 350MB will be used by caching during steady-state. Of course, the actual amount could depend on your operations. As a result, with caching enabled, you should monitor the health of the JVM heap garbage collections. For memory constrained environments, you may want to enable caching on specific tables.