IBM Support

IJ00493: OUTOFMEMORYERROR THROWN WHEN PERFORMING SUBSTRING OPERATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: OutOfMemoryError
    .
    Stack Trace: N/A
    .
    Setting the command line option
    -Djava.lang.string.substring.nocopy=true avoided the problem in
    earlier releases, but it seems to have no effect now.
    

Local fix

Problem summary

  • The -Djava.lang.string.substring.nocopy=true workaround for
    avoiding sharing of the underlying string value array was
    inadvertently removed in Java 8 SR5. Application code which
    relied on this system property may generate OutOfMemoryErrors.
    

Problem conclusion

  • The -Djava.lang.string.substring.nocopy=true system property
    workaround has been re-instated.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP5   (8.0.5.5)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ00493

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-03

  • Closed date

    2017-10-03

  • Last modified date

    2017-11-03

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022