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: build problems
Date Thu, 22 Jun 2006 08:28:49 GMT
Mark Hindess wrote:
> On 22 June 2006 at 10:25, "Vladimir Ivanov" <ivavladimir@gmail.com> wrote:
>> 1) the dependency on ecj_3.2RC5 is not checked:
>> ....
>>      [copy] Copying
>> C:\harmony\trunk_0427\depends\jars\bcprov-jdk14-133\bcprov.jar to
>> C:\harmony\trunk_0427\deploy\jdk\jre\lib\ext\bcprov.jar
>> BUILD FAILED
>> C:\harmony\trunk_0427\build.xml:83: The following error occurred while
>> executing this line:
>> C:\harmony\trunk_0427\make\build-java.xml:161:
>> C:\harmony\trunk_0427\depends\jars\ecj_3.2RC5 not found.
>>
>> Total time: 2 minutes 31 seconds
>> ...
> 
> Fixed in r416240.  Thanks for the report.

Apologies, that was my oversight.  There was code to check it, but I had
left it commented out.

>> 2) the build failed on java-compilation on the WinXP with 1Gb RAM (650Mb
>> free) as:
>> ...
>> compile:
>>     [mkdir] Created dir: C:\users\TCKTeam\ws\trunk\build
>>     [javac] Compiling 2895 source files to C:\users\TCKTeam\ws\trunk\build
>>
>>     [javac] The system is out of resources.
>>     [javac] Consult the following stack trace for details.
>>     [javac] java.lang.OutOfMemoryError: Java heap space
>>
>> BUILD FAILED
>> C:\users\TCKTeam\ws\trunk\build.xml:83: The following error occurred while
>> executing this line:
>> C:\users\TCKTeam\ws\trunk\make\build-java.xml:84: Compile failed; see the
>> compiler error output for details.
>>
>> Total time: 1 minute 8 seconds
>>
>>  To fix it the build-java.xml was updated (locally) as:
>> <javac fork="yes" memoryInitialSize="512M" memoryMaximumSize="600M"
>> destdir="${build.output}" source="${hy.javac.source}" target="${
>> hy.javac.target}" debug="on">
> 
> Good idea.  Fixed in r416245.

Not a good idea :-(  I'm compiling successfully with the non-forked VM
and -Xmx256m (that works with Sun 5.0 JDK), now I have to fork another
process that will immediately grab 512Mb RAM ?!  That's excessive.

As a compromise can we remove the inital size param and reduce the max
memory?

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message