IBM Support

IC83790: MEMORY LEAK IN CREATING GEODETIC INDEX

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using Geodetic library and running inserts/updates many
    values which update the geodetic (spatial) index, there is
    possibility of a major memory leak, which will affect the
    performance of the machine and database.
    
    The output of db2pd -memb will show OSSe pools with File 0
    having a very big memory allocation or continuously growing
    without being released.
    Example:
    
    Memory blocks sorted by size:
    PoolID     PoolName   TotalSize(Bytes)     TotalCount LOC   File
    OSSe       OSSe       2064469528           204131     43    0
    OSSe       OSSe       6815640              104        4293
    745254192
    OSSe       OSSe       3801088              29         4512
    925998910
    OSSe       OSSe       3705064              71         128
    1235720678
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * This is due to the allocation of memory for geodetic control *
    * blocks during the TF_FIRST call to gseGridIndexKeyGenerator. *
    * The memory is released during the TF_FINAL call to           *
    * gseGridIndexKeyGenerator but this call is never made even    *
    * though the UDF is defined WITH FINAL CALL.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 and Fix Pack 7                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 Version 9.7 and Fix Pack 7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC83790

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-28

  • Closed date

    2012-10-25

  • Last modified date

    2012-10-25

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

    IV18443

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC83790

Modified date: 25 October 2012