Reporter Extraction Aborts: "java.lang.OutOfMemoryError: Java heap space"
search cancel

Reporter Extraction Aborts: "java.lang.OutOfMemoryError: Java heap space"

book

Article ID: 85539

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Reporter Extraction of a node fails with the following error in the Reporter server.log:

##########################
com.orsyp.reppub.server.reporter.etl.ExtractionSourceETL - [UVMS_NODE-COMPANY-node-area] Process ABORTED. Status changed to ABORTED. Reason: 
java.lang.Exception: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space

##########################

 

Environment

Reporter extracting data from a Dollar Universe node.

Cause

Reporter JVM memory settings are insufficient to extract the given node. 

Resolution

Provided that the Server hosting Reporter has enough RAM and that the Java version is a 64bit version, modify the script <reporter_server>/exec/unistartrep replacing the occurrence of
-Xmx1024m 
by a higher value, for example
-Xmx2048m


WARNING: Reporter Server may not start after this modification, with an error like:
Could not create the Java virtual machine 

this may be due to the fact that the system does not have enough RAM memory, so you should increase the RAM of the Server to fix the issue.
We always recommend to increase it, after confirming that the system has enough RAM.

After that, stop / start Reporter to take into account the modification.