Loop over items... Possible bug?

Version: 1.67.1
Docker Version
Default setup

Describe the problem/error/question

I have a list of 60 items fetched from an API source. I’m using the Loop Over Items node to process each item individually in a loop. Here’s an overview of the workflow:


Everything works fine initially. However, after looping through the 60 items, the Loop Over Items node unexpectedly starts additional batches, each doubling in size: first 60 items, then 120, then 240, then 480, and so on.


These unexpected additional loops consume a significant amount of memory. If the memory limit allows, it continues until it completely clogs the RAM.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

n8n version: 1.67.1
Database: SQLite
EXECUTIONS_PROCESS: Default
Running on: Docker & Docker Compose
OS: Linux Ubuntu 24.04 LTS

Hi @Mohdlatif,

Could you try removing the connection between

  1. “Replace Me” and “Reviews Exists”
  2. “Replace Me” and “Loop Over Items”

In general you should not connect the Loop Over Items node’s “done” output back to its input.

Hope this helps!