[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: out of memory

try : java -mx1024m -jar sablecc.jar ...


Pieter van der Spek wrote:
I'm trying to create a compiler from a grammar file that is almost 1100
lines long. Somewhere during this section:

 - resolving ACCEPT states.
Generating the parser.

I get a Java exception: java.lang.OutOfMemory

How can I resolve this problem ?


Pieter van der Spek
---- West Consulting B.V.        - www.west.nl
---- Tu Delft / Computer Science - www.tudelft.nl

Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/