tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Brunnauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-1119) OutOfMemoryError when creating many one time timers in timed session ejb
Date Wed, 16 Dec 2009 08:26:18 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Brunnauer updated OPENEJB-1119:
--------------------------------------

    Attachment: screenshot-1.jpg

> OutOfMemoryError when creating many one time timers in timed session ejb
> ------------------------------------------------------------------------
>
>                 Key: OPENEJB-1119
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1119
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: x86, Windows XP SP3 32bit, WASCE 2.1.1.2, IBM SDK 60 32bit bundled
with WASCE
>            Reporter: Stefan Brunnauer
>            Priority: Minor
>         Attachments: screenshot-1.jpg
>
>
> Example: Create a timed session bean with a one time (single-action) timer - in a finally
block of the ejbTimeout method recreate timer with same info serializable and interval. So
this construct represents my scheduled interval job for doing some task again and again. 
> When calling the sessioncontext.getTimerService().getTimers().size() always 1 is returned.

> My profiler tells me, with every sessioncontext.getTimerService().createTimer(interval,
info) method call, some OpenEJB objects like:
> org.apache.openejb.core.timer.TimerData
> org.apache.openejb.core.timer.TimerData$TimerDataSynchronization
> org.apache.openejb.core.timer.TimerImpl
> org.apache.geronimo.transaction.manager.XidImpl
> and some more (about 20 classes) are created and never removed.
> This finally leads to an OutOfMemoryError. 
> When defining ejbTimeout method TX NotSupported than I couldn't reproduce this issue.
> Hope this helps, greetings

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message