tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <hwellmann...@gmail.com>
Subject Re: Memory leak on redeployment
Date Sun, 14 Oct 2012 19:20:56 GMT
I tried the latest snapshot, and the Tomcat warning no longer appears, 
but I still get an OutOfMemoryError when I redeploy my app.

I've created a simple example to reproduce the problem:
https://issues.apache.org/jira/browse/TOMEE-465

Best regards,
Harald


Am 13.10.2012 22:52, schrieb Romain Manni-Bucau:
> did https://issues.apache.org/jira/browse/TOMEE-464
>
> we can get back the old behavior using
> -Dtomee.webappclassloader.force-stop-phase=true
>
> wonder if it is your memory leak since in reality the scheduler threads
> were stopped just after the message
>
> tried on a small app and the memory seems not that bad
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
>
> 2012/10/13 Harald Wellmann <hwellmann.de@gmail.com>
>
>> Hi Romain,
>>
>> thanks for trying to reproduce the problem!
>>
>> No, I don't do anything with Quartz config.
>>
>> The app I was using is closed source, so I can't share anything right now,
>> but I'll try to isolate the problem and get back.
>>
>> Best regards,
>> Harald
>>
>> Am 13.10.2012 17:10, schrieb Romain Manni-Bucau:
>>
>>   Hi Harald,
>>>
>>> i'm not able to reproduce it. I used this ejb:
>>>
>>> @Startup
>>>
>>> @Singleton
>>>
>>> public class MyTimer {
>>>
>>>       private int i = 0;
>>>
>>>
>>>
>>>       @Schedule(hour = "*", minute = "*", second = "*")
>>>
>>>       public void go() {
>>>
>>>           System.out.println("it -> " + (i++));
>>>
>>>       }
>>>
>>> }
>>>
>>>
>>> i updated the class to force eclipse to reload it several times and i had
>>> no message of this kind.
>>>
>>> Can you share anything to let us reproduce the issue?
>>>
>>> Do you customize quartz config?
>>>
>>>
>>
>


Mime
View raw message