I wrote a javaCC parser for some propositional logic expressions.
The expressions can get pretty long, 30k many characters.
When I parse such big expressions, I get a stack-overflow exception.
Is there maybe some VM parameter which determines the stack size?
Or what would you do in such cases?
Thanks
Yes, use the
-Xssparameter. e.g.:sets the stack-size to 4MB.