Skip to main content

PEGA0021 alert: Clipboard memory for declarative pages exceeds limit

Suggest edit Updated on January 21, 2022

The PEGA0021 alert is triggered when the memory used by shared clipboard pages exceeds the recommended threshold based on a percentage of the JVM total memory.

For example, this alert occurs if the amount of JVM memory for a shared Declare Page containing saved customer master file records — imported from an external system — grows to become larger than 5 percent of total JVM memory.

Example message text

Total shared declarative page memory usage (36637107 bytes) exceeds recommended limit of 26637107 bytes.

Default prconfig.xml settings

<env name="DeclarePages/MemoryUsagePercentLimit" value="5” />

This setting determines the percentage of total JVM memory that can be occupied by node-level declare pages. The default is 5 percent.

Reasons for the alert

Review the Rule-Declare-Page rules in your applications. Determine whether the pages they define contain only data that you need, that you need all the pages, and that the pages expire appropriately.

  • Previous topic Memory management revealed - Questions and answers
  • Next topic PEGA0028 alert: GC cannot reclaim memory from memory pools


Pega Platform 7.1.1 - 8.7 Pega Platform 7.1.1 - 8.7 System Architect System Administration
Did you find this content helpful? YesNo

100% found this useful

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us