tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hanke <>
Subject Memory problems due to org.apache.tomcat.dbcp.dbcp.AbandonedTrace?
Date Tue, 25 Jun 2019 11:58:09 GMT

I have got a jspx Page which gets reloaded every 30 seconds to show some
status information. Consequently there are database requests every 30
seconds. Before switching from glassfish to tomcat (7.0.94) there were
no issues with that, but now the memory consumption is bloating over time.

Looking at the heapdump I recognized that the the traceLists of the used
preparedStatements and the resultSets are the cause of the memory

I already tried to use***removeAbandoned*=true and
setting*removeAbandonedTimeout=5 *seconds, as well as turning off my
jspx-database-requests over night,  thinking this could provide the
necessary "timeout" for the connection / AbandonedTrace objects (
) to get cleaned up. Unfortuneatly it did not. I'm now thinking to turn
of the tracking (by using |*clearTrace
) but it seems a little bit hackish to me. Has someone eventually an
idea where to look at or what to do?

Kind regards


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message