Kbase P188382: How to increase java heap for AppServers?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/05/2011 |
|
Status: Unverified
GOAL:
How to increase java heap for AppServers?
GOAL:
How to increase java memory for AppServer in OpenEdge?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.X
FIX:
JVMARGS in OpenEdge release 10.x are set in the AdminServerPlugins.properties file and also in ubroker.properties file. These are both located in the $DLC/properties directory.
JVMARGS may be set the same for all processes/plugins started by the AdminServer if set under the [PluginPolicy.Progress.AdminServer] section of the AdminServerPlugins.properties file or each process may be tailored differently in their separate control area. (eg NameServer, AppServer, WebSpeed, DataServer ...)
jvmArgs can also be set in ubroker.properties file under specific broker definition, this setting in ubroker.properties file will overwrite any setting in AdminServerPlugins.properties.
Following examples demonstrate the information above:
-Xms <size> set initial Java heap size
-Xmx <size> set maximum Java heap size
1. To configure heap size at 1 gigabyte of memory for AppServers add these two lines to the bottom of the AdminServerPlugins.properties file:
[PluginPolicy.Progress.AppServer]
jvmargs=-Xmx1024m
2. The following is an example to set the asbroker1 AppServer to use a Java maximum heam of 1024 meg. This change should be done in the ubroker.properties file.
ubroker.properties:
[UBroker.AS.asbroker1]
jvmArgs=-Xms128m -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.
For earlier Progress versions please refer to Solution P79525, "How do I modify Java heap size for Progress 9 ?"