A PEGA0035 alert is generated when, during the creation of a
Page List
property, there are more elements then a specified
threshold. A large number of embedded pages may consume substantial
memory and may indicate a report design issue or a looping logic
issue.
This alert has two tiers: 5.5
Here is an example of a WARN-level alert message:
The number of elements in this clipboard list property has exceeded WARN level. Maximum size: 1000 Property reference: ListPage.myList Property details: myList (L!Y-)
You can modify the default settings in the alerts section of the
prconfig.xml
file, as follows:
prconfig.xml
file and update these alerts
sections:<env name = “alerts/clipboard/listsizethreshold/enabled" value="true" />
The enabled
value is a boolean. To turn off the alert,
change the value to "false".
<env name = “alerts/clipboard/listsizethreshold/warnsize" value="1000" />
Thewarnsize
value is a positive integer identifying the maximum count of elements allowed in aPage List
value before generating a WARN-level alert (and causing a traceback if the warntraceback value is set).
<env name = “alerts/clipboard/listsizethreshold/warntraceback" value="false" />
The
warntraceback
value is a Boolean that is checked when the WARN threshold is exceeded. When true, a traceback is added to the log. By default, this function is turned off. To set it, change the value to "true".
<env name = “alerts/clipboard/listsizethreshold/errorsize" value="-1" />
The
errorsize
value is a positive integer identifying the maximum count of elements allowed in aPage List
value before generating an alert at the ERROR level and throwing an exception. This threshold is disabled by default. To enable it, enter a positive integer.
For an example, see Pega Developer Network article PRKB-25681 Understanding the PEGA0035 alert.
alert log, prconfig.xml file | |
Understanding alerts |