IBM Support

LI77950: 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

    LI77950

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-30

  • Closed date

    2014-04-30

  • Last modified date

    2014-04-30

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

    IV54276

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels



Document information

More support for: XL C/C++ for Linux
Compiler

Software version: 12.1

Reference #: LI77950

Modified date: 30 April 2014