[antlr-interest] ANTLR 3.1: OutOfMemoryError

Johannes Luber jaluber at gmx.de
Sat Aug 16 06:58:12 PDT 2008


zosrothko schrieb:
> Hi
> 
> Got an OutOfMemoryError... Is there any specific flags for getting 
> additional traces or messages for reducing/localizing this problem??
> What could I do otherwise??
> 
> 
> zos
> 
> PS: my grammar is 5300 lines, 300 rules, 600 tokens, lookahead=4
> 

Add the parameter -Xmx1024m for the java command. Adjust the value of 
1024m if necessary.

Johannes


More information about the antlr-interest mailing list