change mem to task,need new mem