LinkedIn
Copied!

PEGA0035 alert: A Page List property has a number of elements that exceed a threshold

Pega Platform™ generates the PEGA0035 alert when, during the creation of a Page List property, there are more elements than the specified threshold. A large number of embedded pages can consume substantial memory and might indicate a report design issue or a looping logic issue.

This alert has two tiers:

  • If the WARN threshold is exceeded, an alert is generated. Optionally, you can configure the alert so that it also writes a traceback to the alert log. By default, the traceback option is disabled.
  • If the ERROR threshold is exceeded, an alert is generated and an exception is thrown. The ERROR threshold is disabled by default.

These alerts state that either the WARN or ERROR thresholds have been exceeded.

PDC creates only one case for each data page, even if there are multiple alerts for the same page.

Example message text

The number of elements in this clipboard list property has exceeded WARN level. Maximum size: 10000 Property reference: ListPage.myList Property details: myList (L!Y-)

Default prconfig.xml settings

In the alerts section of the prconfig.xml file, you can update the following default values:

<env name = “alerts/clipboard/listsizethreshold/enabled" value="true" />

The value is Boolean. By default the alert is turned on (value = "true"). To turn off the alert, change the value to "false".

<env name = “alerts/clipboard/listsizethreshold/warnsize" value="10000" />

The value is a positive integer that identifies the maximum count of elements allowed in a Page List value before generating a WARN-level alert (and causing a traceback if the warntraceback value is set). The default value is 10,000.

<env name = “alerts/clipboard/listsizethreshold/warntraceback" value="false" />

The value is Boolean, which is checked when the WARN threshold is exceeded. When true, a traceback is added to the log. By default, this function is turned off (value = "false"). To turn it on, change the value to "true".

<env name = “alerts/clipboard/listsizethreshold/errorsize" value="-1" />

The value is a positive integer that identifies the maximum count of elements allowed in a Page 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.


100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.