On Sat, Jan 17, 2009 at 7:01 PM, louburnard <[email protected]> wrote:
> I've been happily using jing for years, but recently upgraded to a new
> version of java
>
> l...@benson:~$ java -version
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
>
> whereupon jing started complaining about stack overflow
>
> Jing version 20081028
> jing -t p5odds.rng Source/Guidelines/en/guidelines-en.xml
> Exception in thread "main" java.lang.StackOverflowError

You should be able to avoid the stack overflow error by increasing the
stack size.  For example:

  java -Xss2m -jar jing.jar

would use a 2Mb stack instead instead of the default (which is
something like 256k).

James

Reply via email to