Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

How to increase the Java memory heap for AppServers?

« Go Back

Information

 
Article Number000018635
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
How to increase the Java memory heap for AppServers?
How to increase java memory for AppServer in OpenEdge?
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution

In order to change the java heap size for an AppServer, modify JVMARGS in <DLC>/properties/ubroker.properties file under specific broker definition section.

Use the following parameters:

  • -Xms <size> sets initial Java heap size
  • -Xmx <size> sets maximum Java heap size

For example, to set the specific AppServer (e.g.: asbroker1 ) to use the initial heap space of 128MB and the maximum of 1GB:

[UBroker.AS.asbroker1]
jvmArgs=-Xms512m -Xmx1024m

It is recommended to use the same size for the minimum and maximum heap size to reduce the periodic pause time that happens as a result of the cleaning up of the garbage collection to free-up the heap space.

After the changes are made, re-start the AdminServer in order for the settings to take effect.

To monitor the java heap / memory statistics associated with the AppServer Broker to determine if the java process is close to exceeding the current heap, refer to Article:  

Workaround
Notes
Attachment 
Last Modified Date7/31/2019 9:49 AM