Added DumpTask and DumpMemory