Add getmemory task