Unhandled exception in 0x77c615de in xxx.exe: 0xc00000fd: Stack Overflow

Source: Internet
Author: User

Then, the unhandled exception in 0x77c615de in xxx.exe is: 0x00000000: The operation is completed successfully.

I don't know what it means.

 

The code is absolutely okay. I only changed the size of one macro. I suspect that a local variable is too large to exceed the call stack limit,

In the Project Settings, liink, system, set the heap retention size to 8388608 (much larger than my local array size), and then the test will be normal. In this way, no optimization is required. No new, no static, no logic change, no code error.

 

Note: If a local variable occupies 1 m, define 10 such local variables as 10 m.

 

Reference http://msdn.microsoft.com/en-us/library/8cxs58a6.aspx

Http://vopit.blog.51cto.com/2400931/559787

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.