The stack 'cstack' is filled to 92% (368 bytes used out of 400). The warning threshold I

Source: Internet
Author: User

The IAR warning indicates that cstack has filled up with 92%. This warning will not appear only when it is below 90%.

Previously, the cstack size I set was 400 bytes.

 

A. STACK: the stack is automatically allocated and released by the compiler, and stores function parameter values and local variable values. The operation method is similar to the stack in the data structure.

B. HeapProgramMembers are assigned to release the program. If the programmer does not release the program, it may be recycled by the OS at the end of the program. Note that it is different from the heap in the data structure. The allocation method is similar to the linked list.

 

Cstack is used by the system. It is used by the compiler for automatic allocation. How small is it now ??

 

Refer:

Http://article.ednchina.com/Other/20081008075905.htm

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.