IBM Support

Maximo Report JVM crashed due to OutOfMemory

Troubleshooting


Problem

Your report JVM maybe crashed due to OutOfMemory error.  
Server log looks like below:
[10/01/19 6:11:18:050 AEDT] 0000005d LogAdapter    E   DCSV9416E: An internal error occurred. Exception is com.ibm.ws.dcs.common.exception.DCSTransportLayerException: PacketFireout
    at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.common.LogAdapter.handle9416(LogAdapter.java:257)
    at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.common.LogAdapter.handleNls(LogAdapter.java:170)
    at com.ibm.ws.dcs.vri.transportAdapter.rmmImpl.common.LogAdapter.onLogEvent(LogAdapter.java:131)
    at com.ibm.rmm.util.RmmLogger.baseLog(RmmLogger.java:245)
    at com.ibm.rmm.ptl.tchan.transmitter.PacketFireout.run(PacketFireout.java:462)
Caused by: java.lang.OutOfMemoryError: Java heap space
    at com.ibm.io.async.AsyncLibrary$IOExceptionCache.get(AsyncLibrary.java:937)
    at com.ibm.io.async.AsyncLibrary.getIOException(AsyncLibrary.java:951)

Diagnosing The Problem

Analyze auto-generated javacore and heapdump files, it indicate nearly 90% of java heap is instance of org/apache/poi/xssf/usermodel/XSSFSheet .

Resolving The Problem

The OOM is coming from an Excel emitter, so the problem occurs when exporting a report to Excel.

In some of the newer Excel emitters, every page break in a report triggers a new worksheet in the Excel file. This only applies to explicit page breaks that the report developer has specified in the report design. Specifically, detail reports (and the detail/subreport template as well as the ad hoc Detail style reports) insert a page break after each record. 

Due to the huge number of page breaks in the big report, the emitter would attempt to create same number of sheets.

There's no an actual fix since it is a BIRT component. To avoid this OOM happening, typically use record limits on detail reports since detail reports are often resource-intensive. Or, if this is a custom report, may be able to change the design to reduce the number of page breaks.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 January 2019

UID

ibm10795592