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

Getting bytes limit error on XML stream rules



User is facing exceeding bytes limit issue in Pega 7.2.1. The same packet is working fine in PRPC 6.1.


Error Messages

In the tracer it shows "Error: The code for the static initializer is exceeding the 65535 bytes limit"

Steps to Reproduce

1. Lookup an account.
2. Enter the account and click on search. Request is sent to the service.

Root Cause

After upgrading from PRPC 6.1 to Pega 7.2.1 the XML Stream rule got changed.

Ananlysed the two XML Stream rules and found that few When rules missed in the Pega 7.2.1 version. 


Add When rules for the respective elements in XML stream rule to resolve the issue.

Published January 5, 2017 - 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