Configuring LRUCache Size for Process Definitions and Modules

ActiveMatrix BPM maintains a 'least recently used' cache (LRUCache) of process definitions and modules. You can now use the following JVM properties to configure the cache sizes:

JVM Property Default Description
com.tibco.pvm.LRUCache.proc.size 200 Maximum number of process definitions
com.tibco.pvm.LRUCache.module.size 100 Maximum number of modules

When the maximum is reached the oldest entry is moved to a soft cache. From here, it may be garbage collected, in which case it would have to be reloaded from the database if it was needed again. A WARN message is written to the BPM log file when this happens. For example:

[WARN ] com.tibco.pvm.infra.support.cache.util.LRUCache - ProcDefCache: putting entry [4] into soft map

If the LRUCache is too small, with too many entries being moved out, there is a potential impact on system performance. Tuning the cache size can therefore help with system performance.