Started basics to find allocated memory for each thread