I have seen JVM option -Xss - What does it do exactly? this link, but my question is how is this option useful.
Because, if we set a very minimum limit to the -Xss value, maybe the threads are not going to work properly as it may throw stackOverflow error most of the times.
Why is there a 64k limit at least for this value?
How i got this 64k limit is when i was trying to configure the runtime vm options on the IntelliJ iDE, I tried to give some thing like 10k and it popped up this error stating it needs at least 64k for thread stack size.
Another question is that, how to find the default thread stack size of my jvm running in my embedded device from a java program?
Thanks,
Sen