
Mel T wrote:
I will use jmap and let you know. What I also found out is that the memory error goes out if I specify a logback.xml instead of relying on the default configuration. I changed it to use
<configuration> <root level="warn"> </root> </configuration>
and it worked fine.
...
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. -- View this message in context: http://www.nabble.com/slf4-with-logback-causes-java.lang.OutOfMemoryError%3A... Sent from the Logback User mailing list archive at Nabble.com.