geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Closed: (GERONIMO-390) Transaction timeout can leak memory
Date Sun, 24 Oct 2004 05:41:26 GMT

   The following issue has been closed.

   Resolver: David Jencks
       Date: Sat, 23 Oct 2004 10:40 PM

I've modified the timeout implementation so transaction completion cancels the timertask.
 I wasn't experiencing the unit test failure that demonstrated this problem, so I don't know
for sure it is fixed.
View the issue:

Here is an overview of the issue:
        Key: GERONIMO-390
    Summary: Transaction timeout can leak memory
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Apache Geronimo
   Fix Fors:

   Assignee: David Jencks
   Reporter: Jeremy Boynes

    Created: Sat, 23 Oct 2004 3:46 PM
    Updated: Sat, 23 Oct 2004 10:40 PM

When a tx is created a new timer task is created so that it can be cancelled; this task is
never cancelled so it remains referenced until it is fired.

Under high load, a lot of pending tasks can build up leading to an OutOfMemoryError.

Solution is to cancel the timer on tx commit/rollback

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message