[antlr-interest] Bug ANTLRWorks 1.0b10 using Groups

Alexandre Porcelli porcelli at uol.com.br
Mon Apr 23 07:56:26 PDT 2007


I'm already using a good memory to execute ANTLRWorks.. my command line is:

java -Xms256M -Xmx380M -jar antlrworks-1.0b10.jar

On 4/23/07, Miguel Ping <miguel.ping at gmail.com> wrote:
> That's an out of memory error, try to give antlrworks more memory by passing
> parameters to jvm when starting up antlrworks:
>
> java (...) -Xmx256m -Xms256m
>
> or whatever size you want. If you use ant you can pass parameters to java
> target. This is my ant snippet for antlrworks:
>
>     <!-- antlrworks launcher -->
>     <target name="launch-antlr-works" description="launchers antlr works">
>         <java jar="${tools.dir}/${antlr.works.jar}" fork="true">
>             <jvmarg value="-Xms${antlr.works.memsize}"/>
>             <jvmarg value="-Xmx${antlr.works.memsize}"/>
>        </java>
>     </target>
>
> just figure out the variables :)
>
>
> On 4/23/07, Alexandre Porcelli <porcelli at uol.com.br> wrote:
> > I think that ANTLRWorks is a great product and I try to use most of
> > the resources available.. but in the last version (1.0b10) the "Group"
> > feature stopped to work... when I try to open a file that has a Group
> > Tag... the following error occurs:
> >
> > Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError:
> > Java heap space
> >
> > This error occurs even if you try to add a group in a grammar during
> editing...
> >
> > Best Regards,
> > Alexandre Porcelli
> >
>
>


More information about the antlr-interest mailing list