-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Bertrand,

On 3/19/13 3:48 PM, Bertrand Guay-Paquet wrote:
> I'm using Tomcat 7.0.34 via TomEE 1.5.1 with MySQL. I noticed a
> memory leak in my web application which uses jdbc connection
> pooling with Tomcat's jdbc-pool.
> 
> The com.mysql.jdbc.JDBC4Connection class has a field named 
> "openStatements" which holds, as you can imagine, open sql
> statements. This structure grows continuously over time and no
> statements are ever released. I stepped into my code to verify that
> I closed opened statements and it is the case.

Can you post some example of your code? Can you also post your pool's
configuration?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlFIxyEACgkQ9CaO5/Lv0PCdOQCgotmWjkcCxnZvknexMq3ZY2Dp
t64An1WxIm9ptEK24Yq2ub2qbjdw+u7v
=RyXf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to