tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Memory leak on redeployment
Date Sat, 13 Oct 2012 15:10:05 GMT
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?

*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>

> Using TomEE 1.5.0 + Eclipse WTP, I get error messages of the following
> kind whenever I save a source file and thus redploy my app:
>
> Okt 13, 2012 1:38:30 PM org.apache.catalina.loader.**WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/myapp] appears to have started a thread
> named [org.apache.openejb.pool.**scheduler.4] but has failed to stop it.
> This is very likely to create a memory leak.
>
> After redeploying 3 or 4 times, the JVM gets stuck with a PermGen error.
>
> This is just what has been discussed in
>
> http://openejb.979440.n4.**nabble.com/Exceptions-during-**
> redeployment-in-Eclipse-**tc4655688.html#a4655695<http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tc4655688.html#a4655695>
>
> and should have been fixed in TomEE 1.1.0.
>
> Is there a regression?
>
> Best regards,
> Harald
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message