Salesforce

How to increase the Java memory heap for AppServers?

« Go Back

Information

 
TitleHow to increase the Java memory heap for AppServers?
URL NameP188382
Article Number000134978
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 Number
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
Keyword Phrase
Last Modified Date11/20/2020 7:00 AM

Powered by