Added task to dump state memory.