My Oracle Support Banner

Memory Not Released Using registerIndexTableOutParameter on OracleCallableStatement (Doc ID 1117399.1)

Last updated on AUGUST 09, 2023

Applies to:

JDBC - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


When using the method registerIndexTableOutParameter on an OracleCallableStatement object, memory is not released in heap even after closing the OracleCallableStatement. 

For example, when using the following or similar code:

In the memory heap, char and byte arrays are not released. 
The byte arrays are referenced by T4Connection.all8.tmpBindsByteArray
The char arrays are referenced by T4Connection.all8.ibtBindchars

When using the Implicit Connection Cache, the byte arrays are freed after closing the Connection object, giving the connection back to the pool.  This does not occur when using third-party connection pooling mechanisms.


Use of registerIndexTableOutParameter


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.