db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: UpgradeSuite and MaxPermSize
Date Mon, 01 Feb 2010 10:43:27 GMT
Bryan Pendleton <bpendleton@amberpoint.com> 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

Mime
View raw message