IBM Support

IC77876: MEMORY LEAK OBSERVED WITH DYNAMIC ROUTINE-NAME SPECIFICATION

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

  • Dynamic routine-name specification simplified the writing of an
    SPL routine that calls another routine who's name is not known
    until runtime. A variable can be used to dynamically build the
    name of a procedure to execute, and when this variable is used
    in the 'execute procedure' statement, memory is allocated to the
    session. Once the procedure has been executed, this memory is
    never released until the session terminates. Due to the
    allocation of memory, performance may also impacted.
    
    If there are sufficient calls to these SPL variables, the
    session memory will become exhausted and fail with the error
    -208.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When using SPL variables to allow dynamic execution of       *
    * stored procedures, memory allocation grows until the session *
    * terminates. Due to the allocation of memory, performance is  *
    * impacted.                                                    *
    *                                                              *
    * 80,000 function calls will force the allocation of 3 GB's of *
    * memory from the 'ralloc' pool.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.50.xC10 or use fixpack.                        *
    ****************************************************************
    

Problem conclusion

  • Memory leak will not be seen. Fixed in 11.50.xC10.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC77876

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-08-02

  • Closed date

    2017-06-15

  • Last modified date

    2017-06-15

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RB50 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B50","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2017