Hi @andréluis ,
Thanks for your updated information.
The Task TCB is a data structure allocated by FreeRTOS for each task, used to store critical information such as the task's runtime state, priority, stack information, and context.
The "Allocated" refers to heap memory allocated through pvPortMalloc, as well as resources occupied by operating system services (such as semaphores, queues, timers, etc.).
The TCB and "Allocated" are distinct concepts with no direct relationship.
Wish it helps you.
If you still have question about it, please kindly let me know.
Wish you a nice day!
Best Regards
MayLiu