09-02-2007 10:46 PM
I start a script where a Java program is run.
I got the error:
The stack size specified is too small, Specify at least 208k
When I start the program I specify the following options ... -Xms128m -Xmx500m -Xss256m ...
It seems that Xss doesn't work.
Which are the probable reasons of such problem?
Solved! Go to Solution.
09-02-2007 10:57 PM
Possible limits on your JVM.
If its a bug, the fix will eventually be released on http://www.hp.com/go/java
Owner of ISN Corporation
09-03-2007 05:06 AM
besides all possible java-bugs, a stacksize of 256Mb seems unreasonable to me.
What happens, when no option '-Xss...' is supplied?
09-03-2007 07:20 PM
Try -Xss256k or -Xss512k, that would be more then sufficient.
09-04-2007 04:56 AM
Yes, 256m is just too large.
The thread stack size isn't charged against maxssiz, that only limits the main thread stack.