process tree and memalloc