Links may not function; however, this content may be relevant to outdated versions of the product.
Issue: Java 64K Method Size Limit
Symptom
If you save a rule form or compile a rule (when it is first assembled for execution), the generated code may exceed the the Java and JSP 64K size limit.
An error similar to the following occurs:
Failed to compile generated Java
com.pegarules.generated.flowaction.ra_flowaction_bbt_olb_onlineac
countopening_newapplication_returntocip_inputenabled_82850f36ea01
1e06f181051d0fcab429: ---------- 1. ERROR in
/tmp/PegaRULES/temp/PRGenJava/com/pegarules/generated/flowaction/
ra_flowaction_bbt_olb_onlineaccountopening_newapplication_returnto
cip_inputenabled_82850f36ea011e06f181051d0fcab429.java (at line
292) public void _jspService(HttpServletRequest request,
HttpServletResponse response) throws java.io.IOException,
ServletException { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The code of method _jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse) is exceeding the 65535
bytes limit ---------- 1 problem (1 error)
NOTE: This sample error displayed when a flow action rule exceeded the 64K limit. Errors you encounter may differ depending on where in your system the limit is exceeded.
Solution
Workaround
This message describes a Java compiler constraint. You must simplify the rule causing this error so that the resulting Java method size is 64KB or less.
Previous topic Known Issues Next topic Issue: Performance Analyzer Tool locks up