Jens,

I don't know if those tests are executed by the surefire plugin, but if they 
are, you can add

          <argLine>-Xmx1024m</argLine>

to the configuration element of the 'maven-surefire-plugin'.

I've done this for the TCK.

Dave

On 11 Mar 2010, at 14:28, Jens Hübel wrote:

> Setting an environment variable fixes it.
> 
> MAVEN_OPTS="-Xmx1024m"
> 
> A bit unfortunate that you can't centrally configure a default value to be 
> used for maven.
> 
> Jens
> 
> 
> 
> -----Original Message-----
> From: Jens Hübel [mailto:[email protected]] 
> Sent: Donnerstag, 11. März 2010 15:12
> To: [email protected]
> Subject: Test Failure out of heap space in opencmis
> 
> Hi guys,
> 
> 
> 
> on one machine where I try to build OpenCMIS I run into a build failure. Has 
> somebody else seen this problem? 
> 
> 
> 
> Jens
> 
> 
> 
> 
> 
> -------------------------------------------------------
> 
> T E S T S
> 
> -------------------------------------------------------
> 
> Running org.apache.opencmis.fit.sample.WebServicesSampleIT
> 
> log4j:WARN No appenders could be found for logger 
> (org.apache.opencmis.client.ru
> 
> ntime.PersistentSessionImpl).
> 
> log4j:WARN Please initialize the log4j system properly.
> 
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.438 sec
> 
> Running org.apache.opencmis.fit.sample.AtomPubSampleIT
> 
> Exception in thread "19449...@qtp-3284378-1" 2010-03-11 
> 15:03:45.433:WARN::Error
> 
> for /opencmis/atom
> 
> java.lang.OutOfMemoryError: Java heap space
> 
> java.lang.OutOfMemoryError: Java heap space
> 
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 89.812 sec 
> <<< F
> 
> AILURE!
> 
> Running org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT
> 
> Creating provider...
> 
> Creating test folder...
> 
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.094 sec <<< 
> FA
> 
> ILURE!
> 
> Running org.apache.opencmis.fit.provider.WebServicesSimpleProviderIT
> 
> Creating provider...
> 
> Creating test folder...
> 
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.297 sec <<< 
> FA
> 
> ILURE!
> 
> 
> 
> Results :
> 
> 
> 
> Tests in error:
> 
>  testRepositoryInfo(org.apache.opencmis.fit.sample.AtomPubSampleIT)
> 
>  testTypes(org.apache.opencmis.fit.sample.AtomPubSampleIT)
> 
>  testRepositoryInfo(org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT)
> 
>  testCreateDocument(org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT)
> 
>  
> testRepositoryInfo(org.apache.opencmis.fit.provider.WebServicesSimpleProviderI
> 
> T)
> 
>  
> testCreateDocument(org.apache.opencmis.fit.provider.WebServicesSimpleProviderI
> 
> T)
> 
> 
> 
> Tests run: 8, Failures: 0, Errors: 6, Skipped: 0
> 

Reply via email to