The free Method Does Not Release A Temporary Lob After Calling getArray
(Doc ID 2122149.1)
Last updated on AUGUST 16, 2019
Applies to:JDBC - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
We have an IN OUT LOB parameter of a stored procedure and use setARRAY for setting a temporary LOBs for this parameter. After calling getArray to retrieve the data, we wish to free the LOBs by using the free method. But if we confirm the Java heapdump, the memory occupied by the temporary LOBs appear not being reclaimed.
Here is a test showing this issue:
1. Create an array of LOBs and use it as IN OUT parameter of a stored procedure, as follows:
3. Run the java program and get java heapdump to confirm the memory
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