tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Federico Tello Gentile" <>
Subject RE: TOMAT slowing down a lot after a while
Date Tue, 24 Oct 2000 21:49:50 GMT
----- Mensaje original -----
De: Kurt Bernhard Pruenner <>

> It might be a bug, but it definitively isn't a Tomcat bug - which JDBC
> were you using?

Of course is not Tomcat's.

It's not a JDBC-ODBC Dirver bug, as I thought before. You have to close
statements explicitly.
The result set are closed automatically. However I thought the statements
were automatically reclaimed when GC'ed, that is when the method in which
they were created was over. That didn't seem to be the case.

----- Mensaje original -----
De: August Detlefsen <>

> Are you sure you are closing your JDBC connections?
> Those can add up real quick if you are doing 3-5
> database hits per page...

I only have one connection per servlet. I open them in the init() and close
it in the destroy(). I had a lot more Statements and ResultSets.

View raw message