Re: Memory Leak with 5.0.6 and 5.1.2-beta
"Clemens Eisserer" <[email protected]> Thu, 19 Jul 2007 11:52:07 +0200
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]