anuradha1 wrote on Thursday, June 16, 2011:
Thanks for your immediate reply Richard.
Still having problems and needs clarifications.
My RAM is 10KBytes.
From that 1KB has to be reserved for the CSTACK.
13 tasks are created in my application. Total of 3328 bytes are allocated for the stack size of those tasks during xTaskCreate() function calls. Each task was given different stack sizes so that they will not have excess memory. (All having less than 100 minimum free stack each)
According to the map file the aggregation of RAM of all other files are around 1Kbytes.
Total of all above is (1K + 3.3K + 1K) 5.3K. However we cannot run the system with configTOTAL_HEAP_SIZE less than 8Kbytes.
Please explain what happens to the (8K - 5.3K) RAM, which is not used by my files/functions.
Note that I am using heap_2.c