How to set -Xss in Eclipse?
My problem is that I want to increase the default stack size when running a Java project in Eclipse. I've tried looking for the answer, and it looks like I need to set the -Xss option to a larger number, but I don't know how to access/set this value.
I'm on a Windows machine, running Eclipse 3.6.0. How would I s开发者_Python百科et this option? I guess, specifically, I'm asking for the steps for how I could
- find out what the default value for the stack size is, and
- set that value to something higher.
Thanks!
All default parameters to Eclipse can be ovewritten in the configuration file eclipse.ini, including the heap size.
see http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F
In the DebugAs configuration, put the value into the JVM options box.
That answers #2. I don't know the answer to #1.
精彩评论