JVM Crashes when executing native code (due to stack size limitation)
843811Jul 3 2003 — edited Jun 28 2005I have some C++ code that does a lot of recursion. When it is run on it's own it works fine. However, when it is run through a JNI call from a java app, it crashes due to a Stack Overflow. I've tried to increast the stack size using -Xss, but I continue to get a stack overflow. If I make -Xss too big, I get this error: Fatal: Unable to create signal thread (may be due to resource limit).
So, is there something else that can be done to fix this problem with the JVM stack??
Thanks.