开发者

StackoverflowException only in release-mode?

开发者 https://www.devze.com 2023-03-20 05:29 出处:网络
I installed VS2010 on Windows server 2008 R2 and started a Winforms app that makes an asynchronous WCF call for a rather big object graph (~25 Mb in XML) to services deployed on another machine.

I installed VS2010 on Windows server 2008 R2 and started a Winforms app that makes an asynchronous WCF call for a rather big object graph (~25 Mb in XML) to services deployed on another machine.

When I start in debug-mode in VS2010 (debug->start new instance) it works fine.

When I start in release-mode in VS2010 (debug->start new instance) it crashes with a soft stackoverflow exception, I have no callstack but I suspect the deserialisation of unde开发者_如何学运维rlying XML.

Any ideas how this may occur?


Try increasing the maximum message size buffers in the WCF config file.

0

精彩评论

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