This is memory immediately before the confirmation run starts (after cached inputs accumulated) and just as it completes. Notice that disk activity is trivial during the run and memory only increases 2%. The input accumulation doesn't hit the spends table, so there's no cheating there.