Support Article
Poor performance with Pega 7 application using high CPU on JVM
SA-25319
Summary
You see high CPU usage on the JVM running a Pega 7 application, and the application response time deteriorates with time.
Error Messages
Not Applicable
Steps to Reproduce
Use Java 7 with the Pega 7 Platform.
Root Cause
A defect or configuration issue in the operating environment
This is a problem only for Java 7: It has a low default ReservedCodeCacheSize setting and it swallows error messages that would otherwise inform the user that a higher setting is needed.
Resolution
Perform the following local-change to the operating environment:
Add Java Option -XX:ReservedCodeCacheSize=512m to the JVM.
Refer to this PDN article for more detail:
https://pdn.pega.com/performance/jvm-options-for-oracle-java-hotspot-virtual-machine
Published March 29, 2017 - 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.