This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请问: 怎么合理地设置CCS里HEAP 和 STACK的大小

这两个值目前是盲目设置的, 有没有一个计算程序实际使用大小的方法, 根据实际使用量来设置, 毕竟RAM不大, 算法一复杂RAM就吃紧

比如STACK一般是放了哪些段, 根据哪几个段的长度相加来设置, 或者写一段代码来测量