geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Errors in xbean-finder...
Date Wed, 21 Mar 2007 22:24:03 GMT
I commented out the xbean-log4j module and ran a build, its choking  
on some errors in xbean-finder:

<snip>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.xbean.finder.ClassFinderTest
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed:  
80.558 sec <<< FAILURE!
Running org.apache.xbean.finder.ResourceFinderTest
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
0.156 sec

Results :

Tests in error:
   testFindAnnotatedPackages(org.apache.xbean.finder.ClassFinderTest)
   testFindAnnotatedClasses(org.apache.xbean.finder.ClassFinderTest)
   testFindAnnotatedMethods(org.apache.xbean.finder.ClassFinderTest)
   testFindAnnotatedConstructors 
(org.apache.xbean.finder.ClassFinderTest)
   testFindAnnotatedFields(org.apache.xbean.finder.ClassFinderTest)
   testClassListConstructor(org.apache.xbean.finder.ClassFinderTest)

Tests run: 28, Failures: 0, Errors: 6, Skipped: 0
</snip>

All of these are dying because of:

<snip>
------------------------------------------------------------------------ 
-------
Test set: org.apache.xbean.finder.ClassFinderTest
------------------------------------------------------------------------ 
-------
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed:  
80.557 sec <<< FAILURE!
testFindAnnotatedPackages(org.apache.xbean.finder.ClassFinderTest)   
Time elapsed: 14.046 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

testFindAnnotatedClasses(org.apache.xbean.finder.ClassFinderTest)   
Time elapsed: 13.205 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

testFindAnnotatedMethods(org.apache.xbean.finder.ClassFinderTest)   
Time elapsed: 12.802 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

testFindAnnotatedConstructors 
(org.apache.xbean.finder.ClassFinderTest)  Time elapsed: 13.557 sec   
<<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

testFindAnnotatedFields(org.apache.xbean.finder.ClassFinderTest)   
Time elapsed: 13.453 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

testClassListConstructor(org.apache.xbean.finder.ClassFinderTest)   
Time elapsed: 13.413 sec  <<< ERROR!
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
</snip>

I'm currently using these options for mvn:

     MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"

Does xbean need more than half a gig of heap to build?

--jason



Mime
View raw message