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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
