Error object_read XOG: OutOfMemoryError: Java heap space

book

Article ID: 197395

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

Unable to xog out custom object.
From xogout.log we could check this error message:
>call custom_object_read.xml
==> java.lang.reflect.InvocationTargetException
       .....
       ..... 
       Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
       .....
       .....

Or.....
       Caused by: java.lang.OutOfMemoryError: Java heap space

Environment

Release : 15.6.1

Component : CA PPM SAAS APPLICATION

Resolution

1- Edit the \bin\xog.bat file (from the XOG Client install folder)
2- Locate line: 
set PROGRAM_ARGS=%SSL_DEBUG_ARG% -Dfile.encoding=UTF-8 -Xmx512m -Dniku.home="%NIKU_HOME%" -Dforehead.conf.file="%NIKU_HOME%\bin\xog.forehead" com.werken.forehead.Forehead -installDir "%NIKU_HOME%" 
3- Change the value from -Xmx512m to a larger one (could you starting with -Xmx2048m).