[antlr-interest] Antlrworks freezes

Andreas Meyer andreas.meyer at smartshift.de
Thu Apr 2 04:18:03 PDT 2009


Hi!

When opening my (big) grammar in AntlrWorks, I usually tell java to use 
as much memory as possible, such as (from commandline)

$ java -Xmx1g -jar antlrworks.jar

Maybe the different look&feel implementations have different memory 
usage patterns, so one look&feel runs out of memory earlier  than the 
other ...

Andreas

Devang Thakkar schrieb:
> Hi,
>  
> I am new to Antlr and AntlrWorks.
>  
> I found that AntlrWorks freezes and hangs for ever.
>  
> Software:
> AntlrWorks 1.2.3,
> PL/SQL grammar: from the Antlr.org 
> http://www.antlr.org/grammar/1209225566284/PLSQL3.g
> JRE: 1.5
>  
> OS: Window XP Professional, SP2
> How to reproduce:
> [1]Start AntlrWorks (with lWindowsl ook&feel ). Open the above grammar 
> file. Verify Grammar. Some errors are encountered. Click Console tab. 
> Antlrworks freezes forever. Screen does not refresh. I have to kill 
> the application (javaw) to end the program.
> [2]Start AntlrWorks (with Java lMetal ook&feel ). Open the above 
> grammar file. Verify Grammar. Some errors are encountered. Click 
> Console tab. Antlrworks works. Now start debugger. Antlrworks freezes 
> forever.
> As you can see, by just changing the look and feel,Antlrworks worked 
> while tabbing to Console, but then it got hung at another point.
>  
> Thanks.
>  
> Devang
> ------------------------------------------------------------------------
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>   



More information about the antlr-interest mailing list