Memory Leak When Using Oracle UCP With CLOBs
(Doc ID 3075740.1)
Last updated on MARCH 12, 2025
Applies to:
JDBC - Version 23.5 and laterInformation in this document applies to any platform.
Symptoms
On : 23.5 version, Thin JDBC driver
ACTUAL BEHAVIOR
---------------
When using Oracle Universal Connection Pool (UCP) with the Thin JDBC driver version 23.5 and fetching large result sets containing CLOBs, the application experiences significant memory leaks. The memory usage increases dramatically during operations involving UCP connections, eventually leading to an out-of-memory condition in long-running server applications. In comparison, connections created using DriverManager do not exhibit this memory leak.
EXPECTED BEHAVIOR
-----------------------
Memory usage should remain stable when using UCP connections, similar to the behavior observed with DriverManager connections. Fetching large result sets containing CLOBs should not result in excessive memory consumption or memory leaks.
Cause
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
Symptoms |
Cause |
Solution |
References |