Memory Related Crash (Sub-Workflow)

Issue

My workflow that takes around 4000 tickets from a ticketing system, enriches the data and then pushes it into airtable always crashes at random points due do memory related problems. The node where it crashes is always different

What is the error message (if any)?

Error: Workflow did not finish, possible out-of-memory issue
Stack: WorkflowCrashedError: Workflow did not finish, possible
out-of-memory issue
at ExecutionRecoveryService.amend
(/usr/local/lib/node_modules/n8n/dist/executions/execution-recovery.service.js:84:53)
at ExecutionRecoveryService.recoverFromLogs
(/usr/local/lib/node_modules/n8n/dist/executions/execution-recovery.service.js:32:34)
at MessageEventBus.initialize
(/usr/local/lib/node_modules/n8n/dist/eventbus/message-event-bus/message-event-bus.js:126:25)
at Server.configure (/usr/local/lib/node_modules/n8n/dist/server.js:232:9)
at Server.start
(/usr/local/lib/node_modules/n8n/dist/abstract-server.js:201:9)
at Server.start (/usr/local/lib/node_modules/n8n/dist/server.js:125:9)
at Start.run (/usr/local/lib/node_modules/n8n/dist/commands/start.js:254:9)
at Start._run
(/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/command.js:302:22)
at Config.runCommand
(/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/config/config.js:424:25)
at run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/main.js:94:16)
at /usr/local/lib/node_modules/n8n/bin/n8n:70:2

Workflow

lastNodeExectued: Letzte 30 Comments + set lastModified
mode: integrated

Please share your workflow

Share the output returned by the last node

Execution stopped at this node
n8n may have run out of memory while running this execution. More context and tips on how to avoid this in the docs

Information on your n8n setup

n8n cloud

What does your sub-workflow do? Isn’t it returning too much data to the main workflow?

1 Like

I solved it - I used a webhook + Wait Node in my loop. Seems like the Sub-Worfklow I executed still always delivered some hidden data (even though I miade sure to set a code-node that outpts an empty item as last node in my sub-workflow)

The http-request is unable to return any data so that fixed it

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.