Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

When rule exceeding 65535 byte limit

SA-19711

Summary



When using a large When rule with multiple sum of products of the form : (A && EA) || (B && EA) .... || (DZ && EA) And error occurs at runtime and when saving the rule.

Error Messages



Failed to compile generated java ... The code of method evaluate() is exceeding the 65535 bytes limit.


Steps to Reproduce

  1. build complicated when rule with over 200 variables to test.


Root Cause



The rule appears to have larger byte code in the 7.1.8 FUA circumstances compared to 6.2sp2.


Resolution



Perform the following local-change:

Refactor the expression to be simpler, or break the When rule into multiple When rules.

Published February 13, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us