Support Article
Logfile error "detected large array in iterator"
Summary
You see the following error message in the PegaRULES.log file:
2014-09-17 14:31:33,436 [fault (self-tuning)'] [TABTHREAD3]
(internal.clipboard.PropertySet) ERROR
- detected large array in iterator: 2421, from page Declare_StaticData.ResultsLookup of size 2421
Why is the error reported?
Error Messages
detected large array in iterator: 2421, from page Declare_StaticData.ResultsLookup of size 2421
Steps to Reproduce
Run the rule which references ResultsLookup
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. A diagnostic warning is output as an ERROR for large arrays.
Resolution
The explanation for this behavior is as follows: This is not an ERROR but more of a DEBUG or INFO as the declare page continues to load and writes this log entry when the list size is > 1000 to alert the requestor to check the size of the declare page if it can be reduced.
This issue is resolved through the following local change:
Update prlogging.xml to set FATAL level for com.pega.pegarules.data.internal.clipboard.PropertySet so ERROR is suppressed (this is the only log entry in the class)
Add the following in the prlogging.xml
<category name="com.pega.pegarules.data.internal.clipboard.PropertySet">
<priority value="fatal"/>
</category>
Published January 31, 2016 - 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.