search cancel

Question about values seen in the OneClick Administration -> Debugging -> Web Server Memory page

book

Article ID: 257576

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

What do the memory values in the OneClick Administration -> Debugging -> Web Server memory page mean?

image.png

Environment

Release : Any
Component: OneClick

Resolution

Using the following screen shot as an example:

image.png

Total Memory (4096) is the value of the -Xms parameter in the $SPECROOT/tomcat/bin/catalina.sh file.

Memory Limit (8192) is the value of the -Xmx parameter in the $SPECROOT/tomcat/bin/catalina.sh file.

The following is a snippet from the $SPECROOT/tomcat/bin/catalina.sh file showing the values for Xmx and Xms:

JAVA_OPTS="-DOneClick -server -Xmx8192M -Xms4096M -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:MaxGCPauseMillis=800 -XX:SurvivorRatio=8 -Dsun.net.inetaddr.ttl=60 -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Djavax.net.ssl.trustStore=$SPECROOT/custom/keystore/cacerts -Dfile.encoding=UTF-8 -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true"

Xmx specifies the maximum memory allocation pool for a Java virtual machine (JVM), while Xms specifies the initial memory allocation pool.

Memory Usage and % is the amount of memory being used and the percentage of Memory Limit used.

Free Memory is the amount of Total Memory available.