IBM Support

LI75134: OUT OF MEMORY AT -O4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling a large application at -O4 or -O5, the compiler
    generated the following error:
    
    System error (12): There is not enough memory available now.
    1586-346 (U) An error occurred during code generation.  The code
    generation return code was 217.
    

Local fix

  • Use -O3
    

Problem summary

  • USER AFFECTED:
    Users using high level of optimization on a compilation unit
    with very
    large number of functions to compile. The number of functions
    could be
    due to large source file or use of complicated templates
    generating
    many templete instantiations.
    
    PROBLEM DESCRIPTION:
    The compiler is facing a huge input task and runs out of memory
    trying to keep the entire intermediate representation of the
    program.
    

Problem conclusion

  • The initial sizes of tables for the intermediate representation
    of
    the program were more appropriately sized. The tables can grow
    but
    with better proportions of different tables, all the tables
    nowc grow
    with better increments leaving enough memory to complete
    compilation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75134

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-01

  • Closed date

    2009-12-01

  • Last modified date

    2009-12-01

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

    IZ59844

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

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

  • RA10 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
14 October 2021