HAT reports leaks due to JDBC calls

Q

qazmlp

TRACE 41834:
java/lang/StringBuffer.copy(StringBuffer.java:Compiled method)
java/lang/StringBuffer.setLength(StringBuffer.java:Compiled method)
oracle/jdbc/driver/OracleSql.parse(OracleSql.java:Compiled method)
oracle/jdbc/driver/OracleConnection.nativeSQL(OracleConnection.java:Compiled
method)
oracle/jdbc/driver/OracleStatement.expandSqlEscapes(OracleStatement.java:Compiled
method)
oracle/jdbc/driver/OracleStatement.parseSqlKind(OracleStatement.java:Compiled
method)
oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:Compiled
method)
oracle/jdbc/driver/OracleStatement.executeQuery(OracleStatement.java:Compiled
method)

percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 2.20% 2.20% 66816 16 1135872 272 41834 [C


Wheeever, I do executeQuery in my JDBC code, the profiler(HAT
available wit reports memory leaks with the above stack.
In fact, I call close() for all the JDBC functions, wherever it is
required so.

What else could be the problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top