ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: java compilation out of memory problem
Date Fri, 06 Jul 2001 14:56:05 GMT

Dont forget that the mx and ms switches changed between 1.1 and 1.2/1.3.
1.2/1.3 needs -Xms and/or -Xmx (for example java -Xmx128m -Xms128m) Try java
-X for a full list of these switches.

Bye
Les

> -----Original Message-----
> From: Peter Davison [mailto:peterdavison@home.com]
> Sent: 06 July 2001 13:40
> To: ant-user@jakarta.apache.org
> Subject: Re: java compilation out of memory problem
> 
> 
> Use "jikes" instead.
> 
> You can find it here:
> 
> http://oss.software.ibm.com/developerworks/opensource/jikes/
> 
> You will need to set a property in your build.xml file:
>  <property name="build.compiler" value="jikes"/>
> 
> P.
> 
> Thus spake "Ming-Fang Wang" <Ming-Fang.Wang@alltel.com> on 
> Fri, 06 Jul 2001  7:26 -0500:
> 
> MW> 
> MW> 
> MW> Hi,
> MW> 
> MW> I run javac task on Ant to compile about 1250 java files. 
> It starts
> MW> fine, but after compiling several java programs ( about 
> 20 of them) I
> MW> got a run-out-of-memory error. The message also suggests using a
> MW> switch  -J-mx<nmbs>. I cannot find any document mentioning such a
> MW> switch. Has any one encountered such a situation and got 
> a solution to
> MW> this problem?
> MW> 
> MW> Thanks.
> MW> 
> MW> -Ming
> 

Mime
View raw message