You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/10/24 00:47:26 UTC

[jira] Created: (GERONIMO-390) Transaction timeout can leak memory

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-390

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

     Status: Open
   Priority: Major

    Project: Apache Geronimo

   Assignee: David Jencks
   Reporter: Jeremy Boynes

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

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-390) Transaction timeout can leak memory

Posted by de...@geronimo.apache.org.
Message:

   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:
  http://issues.apache.org/jira/browse/GERONIMO-390

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:
             1.0-M3

   Assignee: David Jencks
   Reporter: Jeremy Boynes

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

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira