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

Ceki Gulcu ceki at qos.ch
Thu Jul 30 11:11:58 CEST 2009

Mel T wrote:
> When running ANT tasks in eclipse, it seems that the log messages are
> accumulated in memory before they get dumped in the console. Therefore, when
> running with the default config, it causes all debug logs to be in memory
> (and these failing tests use hibernate, spring, and many other libs). 
> It is unclear to me though why the problem occurs with logback and not with
> sl4j-simple nor log4j.

Indeed, that's a very interesting question.

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

More information about the Logback-user mailing list