Why does Junit Task buffers all logs

2009-07-31 Thread Mel T
When running a JUnit task, all logs are accumulated in a ByteArrayOutputStream. This can consume a lot of memory if running in debug and some libraries make excessive use of debug logging (such as DBUnit). Why does the JUnit task do that? Mel T. -- View this message in context: http://www.na

PermGen OOM, many java.sql.DriverInfo instances

2009-07-31 Thread jmwap
Hi, My env is jdk1.6.0, ant 1.7.1 in vista. I am having java.lang.OutOfMemoryError: PermGen when I run my tests driven by ant. My ant files are quite complex, having many ant, antcall, macrodef etc. I create an hprof file when the OOM occurs, and by opening it with eclipse memory analizer I can