Configuring JVM Parameters
Configuring JVM Parameters
Configuring JVM Parameters
Use
This procedure enables you to view and edit the Java Virtual Machine (JVM) parameters using
Config Tool. The JVM is used for running the AS Java and all deployed applications. You can
change values in the configuration template or for a specific instance.
If you want your settings to be valid for all instances, make the configurations on a template
level.
The template configuration is valid for those instances that do not have custom configuration.
Note
You cannot delete default or inherited properties but only custom ones.
All the properties on an instance level are shown with their calculated values. That is, if a
property has a link value (formula), in the table its calculated value is displayed. When you
select the property, you can see its default link value in the Inherited Value field.
Prerequisites
Procedure
Caution
Avoid editing properties which values are not static (link values), such as DebugPort
and ClassPath .
The changes made in GLOBAL vendor apply to all vendors and platforms.
Recommendation
5. Via the following tabs you can configure the relevant template properties:
o Memory - JVM memory settings.
JVM heap size
Recommendation
If you want to increase the JVM heap size, we recommend that you
change only the maxHeapSize . Enter the required memory value (in
megabytes) in the Custom value field.
If you enter an illegal value (for example, the value is not a number), the
AS Java will not start. If you enter a value that is too low, the AS Java
will experience problems and may restart.
o System - all system properties usually specified with -Dxx=yy (for example, -
DmyKey=myValue ).
If you want to add a custom property, choose New . The Config Tool
automatically adds -D to all newly-entered parameters.
The actual parameters used by a running JVM can be found in the development
trace file of the corresponding server process.
For example:
Example
key="-agentlib:myagent"
value="port=12345,dir=C:/Mydir"
Note
6. Choose Set .
7. Choose .
8. If you want to retrieve the default value of the property, choose Restore to Default
Value .
9. In order the changes to take effect, restart AS Java.
Note
It is not possible to add new memory VM parameters but only system and custom ones.