ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject OutOfMemoryError running tests with jdk12
Date Tue, 27 Jul 2004 07:18:33 GMT
Hello,
when running the ant test suite under jdk12, Windows 2000, I get some 
OutOfMemoryError (s)
sample below.
Cheers,
Antoine

    [junit] Testsuite: org.apache.tools.ant.taskdefs.BZip2Test
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 2,934 sec

    [junit] Testcase: 
testRealTest(org.apache.tools.ant.taskdefs.BZip2Test):    Caused an ERROR
    [junit] java.lang.OutOfMemoryError:
    [junit] C:\dev\asf\ant.head\src\etc\testcases\taskdefs\bzip2.xml:6: 
java.lang.OutOfMemoryError:
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java, 
Compiled Code)
    [junit]     at java.lang.Exception.<init>(Exception.java, Compiled Code)
    [junit]     at 
java.lang.RuntimeException.<init>(RuntimeException.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.BuildException.<init>(BuildException.java, Compiled 
Code)
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java, Compiled 
Code)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java, Compiled 
Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:230)
    [junit]     at 
org.apache.tools.ant.taskdefs.BZip2Test.testRealTest(BZip2Test.java:45)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java, 
Compiled Code)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java, 
Compiled Code)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java, 
Compiled Code)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java, Compiled Code)
    [junit]     at junit.framework.TestResult.run(TestResult.java, 
Compiled Code)
    [junit]     at junit.framework.TestCase.run(TestCase.java, Compiled 
Code)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java, 
Compiled Code)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:689)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, 
Compiled Code)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java, Compiled 
Code)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java, Compiled 
Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
    [junit] --- Nested Exception ---
    [junit] java.lang.OutOfMemoryError:
    [junit]     at 
org.apache.tools.bzip2.CBZip2OutputStream.allocateCompressStructures(CBZip2OutputStream.java:1529)
    [junit]     at 
org.apache.tools.bzip2.CBZip2OutputStream.<init>(CBZip2OutputStream.java:295)
    [junit]     at 
org.apache.tools.bzip2.CBZip2OutputStream.<init>(CBZip2OutputStream.java:275)
    [junit]     at org.apache.tools.ant.taskdefs.BZip2.pack(BZip2.java:44)
    [junit]     at org.apache.tools.ant.taskdefs.Pack.execute(Pack.java:101)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, 
Compiled Code)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java, Compiled 
Code)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java, Compiled 
Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:230)
    [junit]     at 
org.apache.tools.ant.taskdefs.BZip2Test.testRealTest(BZip2Test.java:45)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java, 
Compiled Code)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java, 
Compiled Code)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java, 
Compiled Code)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java, Compiled Code)
    [junit]     at junit.framework.TestResult.run(TestResult.java, 
Compiled Code)
    [junit]     at junit.framework.TestCase.run(TestCase.java, Compiled 
Code)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java, 
Compiled Code)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:689)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, 
Compiled Code)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java, Compiled 
Code)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java, Compiled 
Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java, 
Compiled Code)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java, 
Compiled Code)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java, Compiled Code)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message