Endevor Webservices java OutOfMemoryError
search cancel

Endevor Webservices java OutOfMemoryError

book

Article ID: 100391

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction



We are receiving this response from Endevor webservices HTTP Status 500 - org.glassfish.jersey.server.ContainerException: java.lang.OutOfMemoryError: Java heap space .

How to fix this error ?

Environment

Release: ENDAE.00200-18.0-Endevor-Software Change Manager
Component:

Resolution

There are two settings you can adjust for this out of memory error: 

1) in WSTOMENV - JVM options (increase the Xmx to 1024m)
IJO="$IJO -Xms128m -Xmx1024m"  

2) in WSTOMSTC : 
//TOMCAT EXEC PGM=JVMLDM&VERSION,REGION=0M,MEMLIMIT=NOLIMIT, 
// PARM='&LEPARM/&LOGLVL &JAVACLS &ARGS' 

Set REGION=0M on the EXEC command, a value of 0M grants the job access to all available storage. 

Recycle Tomcat after the change.