FreeRTOS heap size define !

Hi: my all task stack size * 4 is 25600 Byte in my system. if I define FREERTOS heap size is 30KByte, all task is created successfully, but some task can’t work. if I define FREERTOS heap size if 31KByte, all task is created successfully, and all task work well. except task stack size is malloc from freertos heap, is there other memory from freertos heap ? vincent

FreeRTOS heap size define !

In addition to the stacks, FreeRTOS also allocates the Task Control Blocks, and all Queue, Semaphores and Mutexes on the heap.