To optimize Java Virtual Machine performance for all servers in the
cluster, configure the maximum and minimum heap sizes, thread stack size, and user options
such as enabling trace upload to SAP® Solution Manager.
Procedure
- In the left navigation pane, select the Configuration tab.
- In the right administration pane, click the General
tab.
- From the menu bar, select Performance.
- Select Java Virtual Machine, then click
Properties.
- Configure these Java Virtual Machine performance properties, as
required:
- Maximum Heap Size – the
maximum size of the JVM memory allocation pool. Use K to indicate kilobytes, M
to indicate megabytes, or G to indicate gigabytes. For production
recommendations on this value, see SAP Mobile Server Replication Tuning Reference in
System Administration.
- Minimum Heap Size – the
minimum size of the JVM memory allocation pool, in megabytes. For production
recommendations on this value, see SAP Mobile Server Replication Tuning Reference in
System Administration.
- Thread Stack Size –
the JVM -Xss option.
- User Options – other JVM
options.
For example, you can enable JVM garbage collection logging by
setting -XX:+PrintGCDetails.
If you are in an SAP environment and want
to define the Solution Manager URL into which trace files can be uploaded, use
this user option: -Dcom.sap.solutionmanager.url=<SolutionManager_URL>.
Note
Enter options as a series of Java system property and
value pairs, delimited by spaces, with this syntax:
-DpropertyName1=value1 -DpropertyName2=value2
For information on troubleshooting JVM settings, see
SAP Mobile Server Fails to Start Due to
Incorrect JVM Settings in Troubleshooting.
To update the disk cache size, use the -ds user option.
The disk cache size must be followed by k, m, or g, for example, -ds
10G.
- Click Ok.