This is the tests failing not maven and the amount of memory they are given 
is different to MAVEN_OPTS.

2.0 branch has some leaks somewhere that need to be fixed :(

Until the leak is found try tweaking this line 
<https://github.com/jenkinsci/jenkins/blob/1873c6fb8471ea7a478b43f709262e2a6ec341b8/core/pom.xml#L766>
 and 
adding -Xmx1256

/James

On Tuesday, March 22, 2016 at 7:02:09 AM UTC, Michael Neale wrote:
>
> Error: 
>
> Caused by: java.lang.OutOfMemoryError: Java heap space
>
>
> If you give maven more memory, or, use Java 8 to build (resultant code will 
> run with java7 I believe, but building with java8 can be faster and usually 
> less memory hassles)
>
>
> export MAVEN_OPTS ="-Xmx2048m"
>
>
> or something like that to give it enough space. Or perhaps your machine 
> doesn't have enough room to build it? 
>
>
> On Tuesday, March 22, 2016 at 5:43:38 PM UTC+11, Arshad Khan wrote:
>>
>> Hello,
>>
>> I am getting some errors while running tests on jenkins ver 2.0 alpha-3. 
>> I have attached the log. Please help!
>>
>> Best Regards,
>> Arshad
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a0dd0c7b-9a77-4d9b-a087-061fefeaa708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to