Hi,
I’m facing an issue with one of my n8n workflows. Whenever I execute the workflow, it causes the entire server to crash.
Here’s the workflow scenario: I’m retrieving data from an external server and pushing it to Zoho CRM via API. The total dataset contains over 42,335 records, and each API call returns 50 records. To fetch all the data, the workflow loops approximately 847 times. Once retrieved, I need to process the data in batches of 24,000 records, as Zoho’s Bulk Write API supports up to 24k records per call.
The problem occurs when the workflow reaches around the 5th iteration—it freezes the entire n8n interface, and eventually, the server restarts. By that point, it has only processed around 250 records.
Could you please help me understand why this is happening and suggest ways to optimize or restructure the workflow to prevent such crashes?
Thank you in advance for your help.
I have included the workflow json in the link, due to character limit, i can not add this directly here:
I have also included the sub workflow:
instance information
Debug info
core
-
n8nVersion: 1.107.2
-
platform: docker (cloud)
-
nodeJsVersion: 22.17.0
-
database: sqlite
-
executionMode: regular
-
concurrency: 20
-
license: community
-
consumerId: 00000000-0000-0000-0000-000000000000
storage
-
success: all
-
error: all
-
progress: false
-
manual: true
-
binaryMode: filesystem
pruning
-
enabled: true
-
maxAge: 720 hours
-
maxCount: 25000 executions
client
-
userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/141.0.0.0 safari/537.36
-
isTouchDevice: false
Generated at: 2025-10-09T04:48:50.691Z