yabo国际娱乐Dialog Semiconductor客户支持- dis_heaplog()堆 https://support.dialog-semiconductor.com/resource-keywords/disheaplog-heap dis_heaplog () https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/disheaplog < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨MT_dialog, < / p > < p >当你提到的CFG_LOG_HEAP_USAGE, disp_heaplog()函数是工作,我可以跟踪堆大小如下。
使用app_easy_timer()函数执行任务周期。当它第一次运行app_easy_timer()时,MSG HEAP只有132左右,并且MSG HEAP在任务期间没有增加。然而,当它完成第一个app_easy_timer()并在第二次开始运行app_easy_timer()时,MSG HEAP增加到4244。这是正常的吗?为什么?< / p > < p > * * *内存日志结果* * * < / p > < p >祝辞祝辞祝辞ENV HEAP <<<
在此堆中使用的大小:188 (current) - 2860 (maximum)
在其他堆中使用的大小:0 (current) - 0 (maximum)

>>DB HEAP <<<
在这个堆中使用的大小:2328 (current) - 2328 (maximum)
在其他堆中使用的大小:0 (current) - 0 (maximum)

>>MSG HEAP <<<
在这个堆中使用的大小:132 (current) - 4244 (maximum)
在其他堆中使用的大小:0 (current) - 0 (maximum)

>>非ret HEAP <<<
在这个堆中使用的大小:0(当前)- 628(最大值)
在其他堆中使用的大小: 0 (current) - 0 (maximum)

Device: 
Sun, 11 Mar 2018 13:16:27 +0000 zhongc@ilink-wireless.com 159245年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/disheaplog#comments