CAMM Tomcat process ran out of memory
search cancel

CAMM Tomcat process ran out of memory

book

Article ID: 278059

calendar_today

Updated On:

Products

DX NetOps CA Mediation Manager

Issue/Introduction

The CAMM tomcat process ran out of memory.  The tomcat log shows:


Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "nioEventLoopGroup-32790-30"
Exception in thread "RMI TCP Connection(idle)" Exception in thread "nioEventLoopGroup-32789-8" Exception in thread "nioEventLoopGroup-32789-9" Exception in thread "Timer-1" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "nioEventLoopGroup-32795-2"

Exception in thread "RMI TCP Connection(idle)" Exception in thread "nioEventLoopGroup-32790-26" java.lang.OutOfMemoryError: Java heap space
Exception in thread "nioEventLoopGroup-32790-31" java.lang.OutOfMemoryError: Java heap space
Exception in thread "nioEventLoopGroup-32790-21" java.lang.OutOfMemoryError: Java heap space
Exception in thread "nioEventLoopGroup-32790-34" java.lang.OutOfMemoryError: Java heap space

Cause

Tomcat ran out of memory

Resolution

Allocate more memory to the tomcat process.

Edit the  $WEBCAMM/bin/catalina.sh and add the following line after the first 10 lines of uncommented text near the top of the file:

CATALINA_OPTS="-Xmx16G"

Stop and restart the tomcat process.  When you run a process listing you will then see the 16G as a parameter in the tomcat running process.