IBM Support

IC85939: HUGE MEMORY CONSUMPTION ON INSERT INTO LIST

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

  • You are executing inserts into a variable of LIST of custom row
    and you notice that engine allocates a huge amount of additional
    memory.
    
    For example, the custom row definition:
    
    create row type 'informix'.custom_type
    (
    id int8,
    table varchar(50)
    );
    
    The list definition:
    
    custom_list list(custom_type not null);
    
    The sample insert statement:
    
    insert into table(custom_list) select  ROW(v_id,
    v_table)::event_type from db:table1;
    
    If executed frequently, online.log will report about additional
    segments allocation:
    
    <...>
    16:50:48  Memory sizes:resident:217728 KB, virtual:4940480 KB,
    no SHMTOTAL limit
    16:50:48  Segment locked: addr=0x23a550000, size=8388608
    16:50:50  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:50  Memory sizes:resident:217728 KB, virtual:4948672 KB,
    no SHMTOTAL limit
    16:50:50  Segment locked: addr=0x23ad50000, size=8388608
    16:50:50  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:50  Memory sizes:resident:217728 KB, virtual:4956864 KB,
    no SHMTOTAL limit
    16:50:50  Segment locked: addr=0x23b550000, size=8388608
    16:50:52  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:52  Memory sizes:resident:217728 KB, virtual:4965056 KB,
    no SHMTOTAL limit
    16:50:52  Segment locked: addr=0x23bd50000, size=8388608
    16:50:52  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:52  Memory sizes:resident:217728 KB, virtual:4973248 KB,
    no SHMTOTAL limit
    16:50:52  Segment locked: addr=0x23c550000, size=8388608
    16:50:53  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:53  Memory sizes:resident:217728 KB, virtual:4981440 KB,
    no SHMTOTAL limit
    16:50:53  Segment locked: addr=0x23cd50000, size=8388608
    16:50:54  Dynamically allocated new virtual shared memory
    segment (size 8192KB)
    16:50:54  Memory sizes:resident:217728 KB, virtual:4989632 KB,
    no SHMTOTAL limit
    16:50:54  Segment locked: addr=0x23d550000, size=8388608
    <...>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Applications that insert into collections in a loop inside   *
    * of stored procedures.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC6                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC85939

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-10-30

  • Last modified date

    2012-10-30

  • 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

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSY

       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":"B15","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 October 2012