tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Brunnauer (JIRA)" <>
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


Stefan Brunnauer updated OPENEJB-1119:

    Attachment: screenshot-1.jpg

> OutOfMemoryError when creating many one time timers in timed session ejb
> ------------------------------------------------------------------------
>                 Key: OPENEJB-1119
>                 URL:
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: x86, Windows XP SP3 32bit, WASCE, 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.

View raw message