Max size of file antlr can parse
1 posts in topic
Flat View  Flat View

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(, Compiled Code)
at antlr.TokenBuffer.fill(, Compiled Code)
at antlr.TokenBuffer.LA(, Compiled Code)
at antlr.LLkParser.LA(, 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