I have to process a lot of records from Postgres table in a loop, in quite long sequences step by step. I found, that while the flow processed this loop, the memory consumption grows dramatically in linear progression.
I moved nodes from the loop to different flow and called one using HTTP request. It is helped me to got less memory consumption.
This is the test flow, it is getting record by record from one table and insert it to other table.