Sorry,

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

Apologies!
Yaron

> -----Original Message-----
> From: Yaron Ruckenstein [mailto:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to