harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][build] does anyone see javac internal error when building the classlibs?
Date Fri, 09 Feb 2007 11:32:31 GMT
We need to start a technical FAQ (and tidy up the existing one btw).

This one seems to come up quite often.

Regards,
Tim

Alexey Petrenko wrote:
> 2007/2/9, Weldon Washburn <weldonwjw@gmail.com>:
>> I see the below error on the current svn head.  The relevant environment
>> variables look like:
>>
>> [working_classlib]# set | grep PATH
>> PATH=/usr/java/jdk1.5.0_08/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/apache-
>>
>> ant-1.6.5/
>> [working_classlib]# set | grep JAVA
>> JAVA_HOME=/usr/java/jdk1.5.0_08
>> [working_classlib]#
>>
>>
>> -compile:
>>    [mkdir] Created dir:
>> /home/harmony/trunk/working_classlib/build/classes
>>    [javac] Compiling 3567 source files to
>> /home/harmony/trunk/working_classlib/build/classes
>>    [javac] ----------
>>    [javac] 1. ERROR in
>> /home/harmony/trunk/working_classlib/modules/awt/src/main/java/unix/org/apache/harmony/awt/nativebridge/linux/X11Defs.java
>>
>>    [javac]  (at line 0)
>>    [javac]     /*
>>    [javac]     ^
>>    [javac] Internal compiler error
>>    [javac] java.lang.OutOfMemoryError: Java heap space
> Probably you should use ANT_OPTS=-Xmx...
> 
> SY, Alexey
> 

Mime
View raw message