AAOD X: Application server Eclipse-integrated Tomcat OutOfMemory


Doc ID    SOLN299151
Version:    1.0
Status:    Published
Published date:    01 Nov 2016
Author:   
Jingui Zhang
 

Details

 Application server, Windows server, Tomcat integrated with Eclipse

Problem Clarification

 Tomcat server down after running 2-3 hours, "outofmemory" "cannot create new native threads" error messages shown in catalina logs.

Application server cannot reply MPP's requests that cause inbound calls failure.

Cause

 Tomcat JVM memory is not enough, maximum heap memory is set to 260M.  Tomcat used up the memory and crash.

Solution

For Eclipse-integrated Tomcat, if you start it from Eclipse, it will use the JVM parameters on Eclipse, not the Tomcat configuration files. So change the maximum JVM memory on tomcat configuration will be not applicable for this case.

We should change the settings on Eclipse:

Window-> Preference-> Installed JREs -> Edit -> input "-Xms256m -Xmx1024m" for "Default VM arguments". 


Avaya -- Proprietary. Use pursuant to the terms of your signed agreement or Avaya policy