如何增加 .Net 3.5 中 Web 服务的堆栈大小

发布于 2024-09-05 15:55:07 字数 233 浏览 5 评论 0原文

我的网络服务中存在堆栈限制问题。 建议我阅读 这篇文章由本论坛的其他成员撰写,但我不知道如何运行 EDITBIN。

我在 Windows 7 (IIS7) 上使用 VS2008 谢谢!

I have an issue with the stack limit in my webservice.
I was suggested to read this article by fellow members of this forum, but I do not have an idea how to run the EDITBIN.

I am using VS2008 on Windows 7 (IIS7)
Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏日落 2024-09-12 15:55:08

如果您的堆栈耗尽,通常最好准确分析为什么您的堆栈耗尽并适当地更改您的设计。增加堆栈大小(无论是通过编程还是通过编辑二进制文件)通常仅意味着您可以处理更大的数据集以进行递归或类似的操作。

我强烈建议您在增加大小之前先弄清楚堆栈中发生了什么。您最终可能会迭代递归方法 - 或者您可能只是发现目前有一个错误。

If you're running out of stack, it's usually a good idea to analyse exactly why you're running out and change your design appropriately. Increasing the stack size (whether programmatically or by editing the binary) will usually just mean you can handle a larger data set to recurse through, or something similar.

I would strongly recommend that you work out exactly what's going on in your stack before increasing the size. You may end up making a recursive approach iterative - or you may just find you have a bug at the moment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文