Support Article
PEGA0017 alert: Cache exceeds limit
SA-48321
Summary
PEGA0017 and PEGA0037 alerts are generated in the logs.
Error Messages
PEGA0017 alert: Cache exceeds limit
PEGA0037 alert: Rule assembly time exceeded threshold
Steps to Reproduce
Unknown
Root Cause
On verifying the JVM settings, the current values are low when compared to the proposed value.
-Xms3584m -Xmx3584m -XX:PermSize=384m -XX:MaxPermSize=512m
The proposed values are (according to the installation guide):
-Xms4096m -Xmx8192m -XX:PermSize=512m -XX:MaxPermSize=1024m
A change request is performed to change the infrastructure and to apply the correct JVM settings.
Additionally, Pega 7.1.7 introduced a new configuration, PruneToSoftPolicy. This configuration caches a soft reference to an element on pruning or draining. By default, this configuration is enabled. The softly referenced elements are not counted, like the mainstream cached elements, to determine the size of the cache as garbage collection may occur any time.
When PruneToSoftPolicy is disabled, the element is completely eliminated from the cache on pruning. Caching references with subscripts is stopped when the cache size reaches the set limit.
Resolution
Perform the following local-change:
- Set the PruneToSoftPolicy option to False
- Increase the cache size for prconfig/collections/mru/PropertyReference/instancecountlimit to 350k.
Published March 30, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.