ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaron Ruckenstein" <yaron.ruckenst...@mobilitec.com>
Subject RE: javac and "-J-mx256m" passed as compilerarg
Date Tue, 24 Dec 2002 11:59:27 GMT
Sorry,

Now I see the "memoryMaximumSize" attribute in the javac.

Apologies!
Yaron

> -----Original Message-----
> From: Yaron Ruckenstein [mailto:yaron.ruckenstein@mobilitec.com]
> Sent: Tuesday, December 24, 2002 1:45 PM
> To: Ant-User
> Subject: javac and "-J-mx256m" passed as compilerarg
>
>
> Hi,
>
> I have "out of memory exception" while compiling on win2000 with
> jdk1.3.1_03
>
> This is the javc usage:
>
> <javac destdir="${project.dir}/lib/classes"
> classpathref="project.class.path">
> 	<compilerarg value="-J-mx500m"/>
> 	<src path="${project.dir}/src"/>
> </javac>
>
> The Compilation fails, saying :
>     [javac] javac: invalid flag: -J-mx500m
>     [javac] Usage: javac <options> <source files>
>
> When I performed my compilation with scripts, this option worked fine.
>
> I thank you in advance for any suggestion,
> Yaron.
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message