Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
The recommended configuration of the Java virtual machine (JVM) heap and young generation sizes depend on the size of the NA core server.
The following table lists the recommended initial Java heap size depending on the NA core server size:
NA Core Server Size | Initial Java Heap Size |
---|---|
Small NA Core Server | at least 8 GB (8192) |
Standard NA Core Server | at least 16 GB (16384) |
High Powered NA Core Server | at least 50 GB (51200) |
The recommended Java virtual machine (JVM) configuration is:
When modifying the JAVA additional parameters in the appserver_wrapper.conf, make sure you comply with the following:
To set the JVM heap and young generation size, follow these steps:
Change to the directory that contains the JVM configuration files:
<HA_HOME>\server\ext\wrapper\conf
<HA_HOME>/server/ext/wrapper/conf
appserver_wrapper.conf
file to a location outside the <NA_HOME>
directory.appserver_wrapper.conf
file.Search for the string initmemory
to locate the lines similar to the following lines:
# Initial Java Heap Size (in MB) wrapper.java.initmemory=8192 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=8192
Compare the values of the wrapper.java.initmemory
and wrapper.java.maxmemory
parameters to the minimums given for the initial and maximum Java heap size.
wrapper.java.initmemory
and wrapper.java.maxmemory
parameters to the minimums given for the initial and maximum Java heap size.Set the young generation size as follows:
Determine whether the young generation size has been set previously by searching for the string -Xmn
.
If this string is in the file, edit this line to set the recommended value for the young generation size as described earlier.
For example:
wrapper.java.additional.3=-Xmn2730m
Additional
to locate the Java Additional Parameters
section.After the last uncommented line in this section, add the following line:
wrapper.java.additional.N=-XmnYGm
In the newly added line, make the following substitutions:
Replace N with the next number in the sequence of uncommented wrapper.java.additional
parameters.
For example, if the wrapper.java.additional.11
parameter is uncommented and the wrapper.java.additional.12
parameter is commented out with a number sign (#
), set N to 12.
Replace YG with the recommended value for the young generation size.
For example:
wrapper.java.additional.12=-Xmn2730m
Set the metaspace sizing as follows:
Add the following lines:
wrapper.java.additional.N=-XX:-UseCompressedClassPointers
wrapper.java.additional.N+1=-XX:-UseCompressedOops
wrapper.java.additional.N+2=-XX:MaxMetaspaceSize=3072m
wrapper.java.additional.N+3=-XX:MinMetaspaceFreeRatio=40
wrapper.java.additional.N+4=-XX:MaxMetaspaceFreeRatio=70
wrapper.java.additional
parameters.For NA installed on a Linux operating system, you must edit the truecontrol
file (/etc/init.d/truecontrol
) to avoid any performance issues with JVM. To edit the file, follow these steps:
In the truecontrol file, add the following lines after umask 077
:
MALLOC_CHECK_=0
export MALLOC_CHECK_