Looking at the MCUXpresso screen shot, I have a 125 kB FreeRTOS heap. The tab's graphic says it's fine, but the tab's list seems to show that it's all used up if I add up the numbers. Am I reading it incorrectly?
Also, what does "Allocated" mean when that particular memory block is NOT designated to FreeRTOS task like the others?
已解决! 转到解答。
Hi @kackle123,
1. It can't, this is why I mention that it is probably a bug. Please try updating to the latest IDE version and try again.
2. FreeRTOS also requires heap resources besides the ones reserved for each task, this is why there are some sections that are marked as "Allocated".
BR,
Edwin.
Hi @kackle123,
Thanks for the clarification. You are reading the tab's list correctly; I believe there might be a bug or error with the graphic instead. That said, the IDE version that you are using is about two years old by now, and many improvements have been made to the FreeRTOS related windows. Please update to the latest MCUXpresso IDE (Currently v24.9) and try again.
BR,
Edwin.
How can the FreeRTOS dynamic memory allocator give out more than 135 kB if the heap was only configured for 125 kB (configTOTAL_HEAP_SIZE)?
Repeating my second question: What does "Allocated" mean when that particular memory block is NOT designated to FreeRTOS task like the others?
Hi @kackle123,
1. It can't, this is why I mention that it is probably a bug. Please try updating to the latest IDE version and try again.
2. FreeRTOS also requires heap resources besides the ones reserved for each task, this is why there are some sections that are marked as "Allocated".
BR,
Edwin.