Bryan Pendleton <[email protected]> writes: > I seem to be having some trouble running the upgrade suite, > particularly under Ant. > > If I say: > > java junit.textui.TestRunner o.a.dT.fT.tests.upgradeTests._Suite > > things complete without a problem. > > But if I use org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner > instead of junit.textui.TestRunner, for example when I run 'ant junitreport', > then the upgrade tests go into a hard CPU loop (under JDK 1.5), or > fail with OutOfPermGenSpace errors (under JDK 1.6). > > I am using the Sun JDKs on a Linux platform. > > This is somewhat similar to DERBY-2988, but this time the issue appears > to involve the "permgen" heap, not the data heap. > > Does anybody else see similar problems?
I've had to run suites.All with -XX:MaxPermSize=128M for a long time now (I use junit.textui.TestRunner, not Ant), but I haven't checked whether I need it if I only run the upgrade tests separately. -- Knut Anders
