IBM Support

Java Heap Space Error When Running Report with a Chart

Troubleshooting


Problem

Running a chart report that has hundreds or thousands of data points may result in the following error CGSErrorAssert:0:Fatal: Error: Java heap space

Symptom

Error in Cognos Viewer is:

CGSErrorAssert:0:Fatal: Error: Java heap space : null at org.dom4j.DocumentFactory(DocumentFactory.java:178) at org.dom4j.tree.AbstractElement(AbstractElement.java:899) at org.dom4j.io.SAXContentHandler(SAXContentHandler.java:299) at org.apache.xerces.parsers.AbstractSAXParser(null:-1) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl(null:-1) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher(null:-1) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl(null:-1) at org.apache.xerces.parsers.XML11Configuration(null:-1) at org.apache.xerces.parsers.XML11Configuration(null:-1) at org.apache.xerces.parsers.XMLParser(null:-1) at org.apache.xerces.parsers.AbstractSAXParser(null:-1) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser(null:-1) at org.dom4j.io.SAXReader(SAXReader.java:465) at org.dom4j.DocumentHelper(DocumentHelper.java:278) at com.ibm.cgsBus.FrameWork.CGSCanvas(null:-1) at com.ibm.cgsBus.FrameWork.CGSCanvas(null:-1) at com.ibm.cgsBus.CGSRequestHelper(null:-1) at com.ibm.cgsBus.CGSServerNonAsyncRequest(null:-1) at com.ibm.cgsBus.CGSServerNonAsyncRequest(null:-1) at com.ibm.cgsBus.CGSServerNonAsyncRequest(null:-1) at com.ibm.cgsBus.CGSServerNonAsyncRequest(null:-1) at java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:908) at java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:931) at java.lang.Thread(Thread.java:738) RSV-SRV-0042 Trace back:RSReportService.cpp(766): CGSErrorAssert: CCL_CAUGHT: RSReportService::process()RSReportServiceMethod.cpp(263): CGSErrorAssert: CCL_RETHROW: RSReportServiceMethod::process(): asynchWait_RequestRSASyncExecutionThread.cpp(828): CGSErrorAssert: RSASyncExecutionThread::checkExceptionRSASyncExecutionThread.cpp(277): CGSErrorAssert: CCL_CAUGHT: RSASyncExecutionThread::runImpl(): asynchRun_RequestRSASyncExecutionThread.cpp(884): CGSErrorAssert: CCL_RETHROW: RSASyncExecutionThread::processCommand(): asynchRun_RequestExecution/RSRenderExecution.cpp(670): CGSErrorAssert: CCL_RETHROW: RSRenderExecution::executeExecution/RSRenderExecution.cpp(1187): CGSErrorAssert: CCL_RETHROW: RSRenderExecution::processActiveDocumentsFrameWork/CGSCanvas.cpp(629): CGSErrorAssert: CCL_THROW:

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Report Studio","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.1;10.2.1.1;10.2.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 May 2025

UID

swg21695636