Fix memory perf test.