How to allocate additional memory to Apache Tomcat based on the usage? |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Steps to Increase the Memory Pool for Smart Reporting Windows 1. Open the Tomcat configuration window:
2. Update the values for Initial and Maximum memory pool as per the requirement. Refer to the attached document for additional information. Linux/Unix 1. Shut down Smart Reporting service using the shutdown.sh command 2. Create a backup of file catalina.sh located at following path:
# Memory limits. # Use these options to set the Java memory limits. # -Xms64m sets the initial Java heap size to 64 MB # -Xmx256m sets the maximum Java heap size to 256 MB #JAVA_OPTS="$JAVA_OPTS -Xms64m -Xmx256m" 4. Uncomment the last line and change the Xmx option to the desired max memory setting. 5. Start Smart Reporting service using the startup.sh command |