dev@glassfish.java.net

Re: build failure

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Sat, 07 Mar 2009 18:50:38 -0800

No, I haven't. I will give it a shot and see if that helps.

If it does, I will update the build instructions?

vbk

Jane Young wrote:
> Did you set MAVEN_OPTS=-Xmx512m in the environment?
>
>
>
> vince kraemer wrote:
>> Hi.
>>
>> I am using jdk 1.6.0_12 and Maven 2.0.10 to try to build v3 on Vista.
>>
>> I am attempting to follow the instructions from here:
>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions
>>
>> But, I keep running into a error running the admin/config-api test:
>> AttributeRemovalTest
>>
>> I read through the test report and the error that I keep getting is
>>
>> <error message="Java heap space" type="java.lang.OutOfMemoryError">
>> java.lang.OutOfMemoryError: Java heap space
>> at java.util.Arrays.copyOfRange(Arrays.java:3209)
>> at java.lang.String.<init>(String.java:216)
>> at java.io.BufferedReader.readLine(BufferedReader.java:331)
>> at java.io.BufferedReader.readLine(BufferedReader.java:362)
>> at
>> com.sun.hk2.component.InhabitantsScanner$1.fetch(InhabitantsScanner.java:88)
>>
>> at
>> com.sun.hk2.component.InhabitantsScanner$1.hasNext(InhabitantsScanner.java:80)
>>
>> at
>> com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:118)
>>
>> at org.glassfish.tests.utils.Utils.getNewHabitat(Utils.java:114)
>> at
>> com.sun.enterprise.configapi.tests.AttributeRemovalTest.removeAttributeTest(AttributeRemovalTest.java:27)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>>
>> Is the build instructions page missing something?
>>
>> Thanks,
>> vbk