IBM Support

LI73362: Setting non-zero QueryTimeout in the Universal JDBC Driver may result in high memory usage in high throughput environments

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Setting the QueryTimeout to a non-zero value for a Statement or
    PreparedStatement object causes the associated resources to be
    freed only after the timer elapses. If the statement completes
    prior to the timer elapsing, resources are still held in memory
    until the timer elapses. If the timer is set to a large value,
    and the system creates a lot of statements, then an OutOfMemory
    exception can occur.
    

Local fix

  • Local Fix: None
    Work Around: Set QueryTimeout to 0, or a very low value
    

Problem summary

  • Users Affected: JDBC Applications using the Universal JDBC
                    driver only
    
    Problem Description: Setting the QueryTimeout to a non-zero
    value for a Statement or
    PreparedStatement object causes the associated resources to be
    freed only after the timer elapses. If the statement completes
    prior to the timer elapsing, resources are still held in memory
    until the timer elapses. If the timer is set to a large value,
    and the system creates a lot of statements, then an OutOfMemory
    exception can occur.
    
    Problem Summary: Setting non-zero QueryTimeout in the Universal
    JDBC Driver may
    result in high memory usage in high throughput environments
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    LI73362

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-22

  • Closed date

    2009-04-24

  • Last modified date

    2009-06-11

  • 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

  • R820 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":"820","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 June 2009