Memory Not Released Using registerIndexTableOutParameter on OracleCallableStatement
(Doc ID 1117399.1)
Last updated on AUGUST 09, 2023
Applies to:JDBC - Version 10.2.0.1 to 220.127.116.11.0 [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