logo       

Re: Memory Leak with 5.0.6 and 5.1.2-beta: msg#00015

db.mysql.java

Subject: Re: Memory Leak with 5.0.6 and 5.1.2-beta

Hello,

Thanks a lot for your feedback. As far as I can see commons-dbcp is an
extension to commons-pool which provides additional
informations/features.

However I am experiencing problems although I only use a single
Connection object and a single Statement object all the time, and I
even close the old ResultSet explicitly before I do the next Query.
I really can't explain where all those "openSessions" come from,
setting cachePreparedStatements didn't help either.
Shouldn't a new Query close all resources bound to a Statement-Object
(old ResultSets, Metadata, ...)?
Do you think commons-dbcp could be useful also in this case?

I'll have a look at the driver's source, however I don't think I'll
understand that piece of code ^^

Thank you in advance, lg Clemens

--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=gcdmj-java@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise