IBM Support

IV54276: COMPILER RUNNING OUT OF MEMORY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling a large test case with -O, the compiler front end
    runs out of memory when trying to inline various functions.
    
    The compile time error looks similar to the following:
    $ xlC_r -c -O test.cpp
    1540-5210 (S) Insufficient memory.
    $
    

Local fix

  • Avoid using -O for the single file that fails to compile.
    

Problem summary

  • USERS AFFECTED:
    Clients with complex source code, especially with recursive
    calls may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    During recursive calls, the compiler frontend was running out
    of memory.
    

Problem conclusion

  • Since the compiler frontend was running out of memory, we have
    increased the default bmaxdata to the maximum 32-bit address
    space.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV54276

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-20

  • Closed date

    2014-03-18

  • Last modified date

    2014-03-31

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

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

    LI77950

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1"}]

Document Information

Modified date:
03 October 2021