开发者

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

  1. find out what the default value for the stack size is, and
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜