[logback-user] slf4 with logback causes java.lang.OutOfMemoryError: Java heap space

Ceki Gulcu ceki at qos.ch
Wed Jul 29 17:02:48 CEST 2009


This issue does not ring a bell. You could use 'jmap' (new in JDK 1.6) to 
collect memory usage. I would be very interested in your investigation.

Mel T wrote:
> Hi,
> 
> I swiched our project to using SLF4J / logback. All projects and build files
> worked (we have 40 projects) until one of ant target failed with that error:
> 
>  java.lang.OutOfMemoryError: Java heap space
> 
> If I switch it to using slf4j-simple, I do not get that memory error. 
> 
> If I use log4j binding, it works too.
> 
> I will start digging more, but if this raises a possible answer, I would
> appreciate it.
> 
> This ant target runs in eclipse to invoke a junit anttask, which runs a test
> class that uses dbunit.
> 
> --
> Mel T.

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list