Hi,
We have an application running on weblogic. Our application maintains sessions using httpsession and user entity bean storing user info. When I am
testing for memory leaks using jprobe I found that for each database transaction, some oracle.jdbc.* objects are being created and not getting garbage collected (I tried forcing garbage collection many times).
I am getting connections from the connection pools in weblogic.
Some of the objects which are being accumulated over time are
oracle.jdbc.ttc7.TTCItem
oracle.jdbc.dbaccess.DBData
oracle.jdbc.ttc7.DBColumn
java.lang.String
byte[] ... etc
Why are these objects are getting accumulated in the heap and not garbage collected?
I made sure that after every query to database I am closing the resultset, statement and connection. Still I am not sure why this objects are increasing and causing memory leaks.
Also I found from Jprobe, after timeout none of our application related classes exist in the Runtime Heap.
Thanks
Krishna.