in reply to create new task from main program

Ooop , 1 more problem ,
I found the program memory grows larger and not free up, i try to use threads->detach() but it seems cannot detach from memory