Posted: 21 Jun 2017 14:25 EDT Last activity: 22 Jun 2017 7:35 EDT
Production servers :high JVM GC time and the MRU cache limit value
High JVM GC time has been observed recently for all the production servers and after analyzing the heap dump and the Pega alert logs, we could find references to com.pega.pegarules.priv.collections.map.ConcurrentMostRecentlyUsedMap.countingSortRemove and lots of PEGA0017 alerts
Please find the current DSS value and most recent MRU cache report details below.
Initially, the rule cache limit is 3,000 entries. This count includes rules on "probation". Probationary entries contain only keys and usage counts, rather than the full rule content. If this cache limit is approached during system operations, older entries are discarded automatically to make room for newer entries, following the Most Recently Used (MRU) algorithm.
You can change this limit by adding a prconfig.xml setting similar to:
Memory consumed by this cache is not available for other JVM operations. To see the size in entries and bytes of this cache, select Designer Studio > System > Operations > System Management Application, select a node, and click the Memory Management menu item. Look for the row labeled Rule Instance in the Cache grouping.
Note: When required in special situations, your activity can call the PublicAPI function PRThread.setCacheEnabled(false) to disable rules caching temporarily for the current requestor.
A property reference is a property of mode Single Value, Value List, Value Group, Page, Page List or Page Group that can operate to maintain what appears as an automatic copy of properties on another page. Property references can eliminate the need for copying the contents of one value or page into one or more other values or pages.
To define a propertyreference, select the Reference Property box on the Behaviour tab of the Property form.
Then use the Property-Ref method to link values from another page (known as the non-reference page) to a page of the reference property. Thereafter, changes to the non-reference page — through the Property-Set method, other methods, Declare Expression rules, and so on — also appear on the reference page.
For further information , please refer the below link: