My workflow go through split in batches but never stop. I have seen some documentation where people can set a second branch when the batch ends, bur I don have this on ours
What exactly do you mean by your workflows never stops? Could you perhaps share an actual workflow using which the problem can reproduced rather than just a screenshot?
Thanks, the workflow dos not stops or that what I understand, as you can see in my workflow, the loop goes ok trough the batches but at the end it wont finish but will error with memory problems.
From looking at your screenshot it seems the error message might be spot on - you’re simply processing too much data for your n8n instance to handle. The situation is documented here, along with a few common workarounds:
If you control the amount of data directly you could simply consider processing multiple smaller files in separate executions instead of one big file in a single execution.
In case you can’t change the input file size you could try something like this instead: Convert Binary file To JSON or CSV - #5 by MutedJam This is rather cumbersome though and you might have a better time simply increasing the available memory on your machine.