thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Jayaprakash <w...@anomalizer.net>
Subject java lib unit test fails for 0.8
Date Thu, 10 May 2012 18:31:11 GMT
I am getting an OOME error when running "ant test" for the java client
lib against the 0.8.0-tgz (and the 0.8.x) branch. Here is the exact
error:


junit-test:
    [junit] Running org.apache.thrift.TestShortStack
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] Running org.apache.thrift.TestStruct

<snip>

    [junit] Running org.apache.thrift.server.TestHsHaServer
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 17.007 sec
    [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    [junit]     at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:299)
    [junit]     at java.lang.StringCoding.encode(StringCoding.java:343)
    [junit]     at java.lang.StringCoding.encode(StringCoding.java:385)
    [junit]     at java.lang.String.getBytes(String.java:995)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter.endTestSuite(PlainJUnitResultFormatter.java:152)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:630)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:455)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
    [junit] Running org.apache.thrift.server.TestHsHaServer
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec


trunk however seems to work just fine. Is this is a known problem?

Mime
View raw message