[antlr-interest] ANTLR3Task: increase heap size

Stephanie stephanie.balzer at gmail.com
Thu Dec 10 23:37:44 PST 2009


Hi Jim,

Thanks for your prompt reply.

For the moment, I am tied to ant. I tried finding out how to pass a jvm
argument to ant, however, everything I tried out did not work... I also
tried passing it to ANTLR3Task, without success.

Stephanie

On Fri, Dec 11, 2009 at 8:16 AM, Jim Idle <jimi at temporal-wave.com> wrote:

>  I believe that I altered that so you could pass in the heap size or that
> you can do this via the standard parameters for ant tasks. You are looking
> to use –Xmx750M or something like that. Look how you add jvm parameters to
> an ant task and it should be the same IIRC. However, if you are not tied to
> ant, then switch to Maven where you will find things much much easier.
>
>
>
> Jim
>
>
>
> *From:* antlr-interest-bounces at antlr.org [mailto:
> antlr-interest-bounces at antlr.org] *On Behalf Of *Stephanie Balzer
> *Sent:* Thursday, December 10, 2009 11:11 PM
> *To:* antlr-interest at antlr.org
> *Subject:* [antlr-interest] ANTLR3Task: increase heap size
>
>
>
> Hi,
>
> I am using the ANTLR3 ant task under Mac and run out of memory when
> producing the parser. Can someone tell me how to pass the VM argument to
> ANTLR3?
>
> Thanks a lot!
>
> Stephanie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091211/ea0337bc/attachment.html 


More information about the antlr-interest mailing list