I changed a lot of lib versions when upgrading to 7.0.1, but I guess the
most relevant in this case is Hibernate, from 4.2.21 to 5.2.1.

I'll try 7.0.2-SNAPSHOT, but I'd like to check locally first if it is going
to leak.

Is there a simple way to do that?

2016-07-21 8:52 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com>:

> If you provide slf4j-api without an implementation in the webapp you likely
> use slf4j-api (and impl) from the container. Identified leak was about
> openejb loggers and is not really linked to the logger framework used.
>
> I didn't check the JSF case to be honest but JMS and failing deployment was
> 2 identified for instance.
>
> Testing 7.0.2-SNAPSHOT can be an option if you can.
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-07-21 13:49 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>:
>
> > One of my webapps has slf4j-api-1.7.21.jar, the others
> > have slf4j-api-1.7.7.jar. No slf4j implementation and no logback.
> >
> > I use a lot of Logger.getLogger...
> >
> > I also have a lot of MyFaces warning logs, but I don't know how MyFaces
> > logs.
> >
> > Is this enough to leak or something else is causing the problem?
> >
> > Thanks
> >
> > 2016-07-20 20:04 GMT-03:00 Steve Goldsmith <sgj...@gmail.com>:
> >
> > > Yea, it took a couple weeks for me to burn through 2G. I have one app
> > that
> > > logs 1M+ lines a day, so that helped accelerate it. Now TomEE only
> > consumes
> > > ~200M with the logger fix applied.
> > >
> > > On Wed, Jul 20, 2016 at 4:56 PM, Romain Manni-Bucau <
> > rmannibu...@gmail.com
> > > >
> > > wrote:
> > >
> > > > was leaking with JUL as well but you should get a bunch of errors in
> > logs
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com> | JavaEE Factory
> > > > <https://javaeefactory-rmannibucau.rhcloud.com>
> > > >
> > > > 2016-07-20 22:36 GMT+02:00 Steve Goldsmith <sgj...@gmail.com>:
> > > >
> > > > > This had to do with using logback and slf4j in my WAR. It was fixed
> > in
> > > > > 7.0.2 snapshot.
> > > > >
> > > > > On Wed, Jul 20, 2016 at 4:16 PM, Felipe Jaekel <fkjae...@gmail.com
> >
> > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > After upgrading from 1.7.2 to 7.0.1, server is crashing after
> about
> > > 10
> > > > > > hours running:
> > > > > >
> > > > > > OpenJDK 64-Bit Server VM warning: INFO:
> > > > > > os::commit_memory(0x0000000700000000, 1073741824, 0) failed;
> > > > > error='Cannot
> > > > > > allocate memory' (errno=12)
> > > > > >
> > > > > > Found this thread:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://tomee-openejb.979440.n4.nabble.com/TomEE-7-01-heap-leak-in-logging-td4679146i20.html
> > > > > >
> > > > > > I don't have experience tracking memory leaks. How I can I tell
> if
> > > I'm
> > > > > > having the same issue?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Steven P. Goldsmith
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Steven P. Goldsmith
> > >
> >
>

Reply via email to