Logfile error "detected large array in iterator"
You see the following error message in the PegaRULES.log file:
2014-09-17 14:31:33,436 [fault (self-tuning)'] [TABTHREAD3]
- detected large array in iterator: 2421, from page Declare_StaticData.ResultsLookup of size 2421
Why is the error reported?
detected large array in iterator: 2421, from page Declare_StaticData.ResultsLookup of size 2421
Steps to Reproduce
Run the rule which references ResultsLookup
The root cause of this problem is a defect in Pegasystems’ code/rules. A diagnostic warning is output as an ERROR for large arrays.
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
0% found this useful