Did this article resolve your question/issue?



How to increase the Java memory heap for AppServers?

« Go Back


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

In order to change the java heap size for an AppServer, modify JVMARGS in <DLC>/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:

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:  

Last Modified Date11/20/2020 7:00 AM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.