IBM Support

PH61430: OutOfMemoryError after deploying Java Batch application in WAS v8.5.5

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.OutOfMemoryError after deploying Java Batch
    application in WebSphere Application Server v8.5.5.x
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server for Java Batch                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: An Out of Memory error occurs from      *
    *                      com.ibm.ws.gridcontainer.parallel.impl. *
    *                      SubJobManagerImpl._getSubJobLogParts    *
    *                      at                                      *
    *                      com.ibm.ws.gridcontainer.parallel.impl. *
    *                      SubJobManagerImpl.getSubJobLogPartsCont *
    *                      ent,                                    *
    *                      while logging SubJob logs into the      *
    *                      top job log level.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a sub job completes, the top level job is notified and
    retrieves information and the logs from the subjob to be
    displayed in the top level job log.  If large amounts of
    debugging is being used in the batch application, this can
    cause many sub job log parts to be created.  When these parts
    are retrieved by the top level job into a String as a buffer,
    this can result in a  â??java.lang.OutOfMemoryError: Java heap
    spaceâ?? error when the resulting String is formed.
    

Problem conclusion

  • A code update has been done to counter this issue. A new
    WebSphere variable has been created,
    â??TLJ_DISPLAY_SUBJOB_LOGSâ??, which can hold one of three value
    The possible values are, â??DISPLAY_SUBJOB_LOGS_SYSOUTâ??,
    â??DISPLAY_SUBJOB_LOGS_JOBLOG_ONLYâ?? and
    â??DISPLAY_SUBJOB_LOGS_NOWHEREâ??. Now the user has the option t
    whether display subJob logs in Sysout or Job logs, or not
    display the Subjob logs at all.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.27 and 9.0.5.21. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61430

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-05-21

  • Closed date

    2024-07-22

  • Last modified date

    2024-07-22

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

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

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
23 July 2024