But the memory goes up to 2245.8 (MB) from 2118.4 (MB).

This is a small increase. This might simply be because you have some slightly different behavior between the first iteration and the others (because the first iteration has only the results from that iteration, while during the second, some buffers from the 1st one might still be around).
Does the memory continue to grow for the other iterations?
Also you’re looking at the maximum allocated memory, not the current one.