IBM Support

IV90015: LARGE EXPORT TO EXCEL CAUSES OUT OF MEMORY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Large Export to Excel may cause out of memory crash on the
    JVM/server, or cause a zero byte or seemingly corrupted xlsx
    file.
    When analyzing the heapdump file you will see the following
    classes taking the most of the JVM heap dump space:
    (A)
    "com.tririga.architecture.web.process.useresponse.ExportExcell$2
    ", loaded by "<system class loader>"
    (B) "org.apache.poi.xssf.usermodel.XSSFRichTextString", loaded
    by "<system class loader>"
    

Local fix

  • N/A
    

Problem summary

  • The Excel integration framework used by the platform needs to
    been upgraded from Apache POI 3.13 to Apache POI 3.15 to take
    advantage of streaming the result set, and not build the entire
    Excel file in memory.
    

Problem conclusion

  • The default TRIRIGAWEB property REPORT_MEMORY_USAGE_LIMIT has
    been increased from 35 to 90.
    An issue was resolved where export large excel files from
    report manager would consume the entire java memory heap. This
    has been resolved by streaming the rows written to the excel
    file, and ensuring that TRIRIGA code consumes as little
    resources as possible during the generation of this excel file.
    This is targeted to the 2h2016 and the 3.5.1.3 hot fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV90015

  • Reported component name

    TRI APP PLTFM R

  • Reported component ID

    5725F26RE

  • Reported release

    331

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-17

  • Closed date

    2016-11-28

  • Last modified date

    2016-11-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHEB3","label":"IBM TRIRIGA Application Platform"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"331","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
30 March 2022