FAS JVM settings
The JVM settings dictate how much memory is allocated to the java processes for the app server. A default FAS installation will have the JVM parameters set to:
-XX:PermSize=256m -XX:MaxPermSize=256m -Xms256m -Xmx512
512mb may not be enough for some scenarios, for production systems it's recommended you increase this to at least 2048mb.
To increase the JVM settings
edit /opt/cafex/FAS-<version>/domain/configuration/domain.xml
Set the heap size to 2048 & 4096 as highlighted below
<server-groups>
<server-group name="main-server-group" profile="ha">
<jvm name="main-jvm">
<heap size="1024m" max-size="2048m"/>
<permgen size="256m" max-size="256m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:+UseG1GC"/>
<option value="-XX:MaxGCPauseMillis=50"/>
<option value="-XX:+HeapDumpOnOutOfMemoryError"/>
<option value="-XX:HeapDumpPath=./heapdump_as.hprof"/>
</jvm-options>
</jvm>
Then restart FAS:
service fas restart/systemctl restart fas
You can confirm the settings with:
ps -ef | grep appserver
root 8342 8272 44 13:15 pts/0 00:00:29 /opt/java/bin/java -D[Server:appserver-cs-palettes] -XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xm2048m-
Comments
0 comments
Please sign in to leave a comment.