task memory now gives max memory used