IBM Support

LI73261: MEMORY LEAK IN THE APPLICATION HEAP MEMORY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a query is run that includes "like", for example:
    "select * from staff where name like '%abc_def%'"
    Then there exists a possibility that this query could allocate
    some memory from the application heap to handle the "like"
    processing, but fail to free that memory.
    If queries like this are run many times, the symptom that you
    will observe will be an gradual increase in application heap
    memory allocations.
    The problem is much more likely to happen if the LIKE pattern
    to match contains ascii underscore character as per the above
    example, but the problem can still happen even without that.
    This symptom of increasing application heap memory should not
    be confused with normal application heap memory growth.
    To clearly identify if this problem is being encountered, you
    should run:
    db2pd -alldbs -memblocks all
    and then analyze that output to see if a large portion of the
    allocations are coming from sqlri_like_alloc() function.
    

Local fix

Problem summary

  • see problem description
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.5, FixPak 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI73261

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-03-26

  • Closed date

    2008-05-02

  • Last modified date

    2008-05-02

  • 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

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R910 PSY

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 May 2008