dcsimg
Max size of file antlr can parse
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Angela_Kwok
Posted On:   Monday, June 11, 2001 12:45 PM

What is the max size of file that antlr can parse? I tried to parse a 50 MB idl file, and I got a java.lang.OutOfMemoryError exception.
at com.objectswitch.rosebud.addin.importIDLos.SocleLexer.mSOC_STRING_LIT
ERAL(SocleLexer.java:957, Compiled Code)
at
at antlr.TokenBuffer.fill(TokenBuffer.java:33, Compiled Code)
at antlr.TokenBuffer.LA(TokenBuffer.java:70, Compiled Code)
at antlr.LLkParser.LA(LLkParser.java:50, Compiled Code)
...

Re: Max size of file antlr can parse

Posted By:   Monty_Zukowski  
Posted On:   Tuesday, June 12, 2001 06:22 AM

Most JVMs have a maximum heap size. You can specify a bigger heap size through command line options when you start Java. See the docs that came with your JVM.
About | Sitemap | Contact