JBoss - Java heap retention in T4CPreparedStatements
Issue
- "java.lang.OutOfMemoryError: Java heap space" errors are received because the heap is consumed by oracle.jdbc.driver.T4CPreparedStatement.
- The T4CPreparedStatements are abnormally large (several megabytes each) because of a large char[] they own called defineChars. However, this defineChars char[] appears to only contain white space.
Environment
- JBoss Enterprise Application Platform
- Oracle
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.