Redian新闻
>
Re: how to increase stack size in win2k?
avatar
Re: how to increase stack size in win2k?# Windows - 看得见风景的窗口
h*n
1
You need to set the stack size of Java virtual machine, not that of Windows.
type "java -X" too see help.
it's likely you should use "java -Xss".
but I doubt that your algorithm is not very efficient, it's better to check
it.

When
to
avatar
h*n
2
but I really doubt any algorithm that use such a huge size of stack.
It's more proper to use heap in such cases. stack is not supposed to
be used like that.
If you do need to recursive so many time, you'd better transfer it
into a for-loop form. In such cases, resursive function calls have
too huge overhead. Transfer it, if you can.

tried
Windows.
check
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。