Describe the problem/error/question
Out of memory error, but there is a lot of free memory!
There is no Docker definition for memory usage.
The machine uses 2.5G, it has 15.5G of real RAM (not SWAP), tried these envs with no difference:
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
N8N_RUNNERS_ENABLED=true
NODE_OPTIONS=--max_old_space_size=10240
N8N_PAYLOAD_SIZE_MAX=8192
N8N_FORMDATA_FILE_SIZE_MAX=8192
What is the error message (if any)?
{
"errorMessage": "Execution stopped at this node",
"errorDescription": "n8n may have run out of memory while running this execution. More context and tips on how to avoid this <a href='https://docs.n8n.io/hosting/scaling/memory-errors/' target='_blank'>in the docs</a>",
"errorDetails": {},
"n8nDetails": {
"time": "7/18/2025, 7:43:37 AM",
"n8nVersion": "1.102.3 (Self Hosted)",
"binaryDataMode": "filesystem"
}
}
Please share your workflow/screenshots/recording
{
"nodes": [
{
"parameters": {
"bucketName": "reddit-to-tiktok",
"fileKey": "={{ $('Split Out2').item.json.file }}"
},
"type": "n8n-nodes-base.s3",
"typeVersion": 1,
"position": [
-1120,
-784
],
"id": "74b23981-6c39-4e9d-b8a5-71b89d38f822",
"name": "Download File",
"credentials": {
"s3": {
"id": "fpBLJ6tLm43tDt6B",
"name": "Minio account | reddit-to-tiktok"
}
},
"onError": "continueRegularOutput"
},
{
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "return {\n json: {\n length: (await this.helpers.getBinaryDataBuffer($itemIndex, 'data')).length\n }\n}"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-960,
-784
],
"id": "ad863aa1-6d86-45d0-ae2f-e4e1334af37e",
"name": "Code2"
}
],
"connections": {
"Download File": {
"main": [
[
{
"node": "Code2",
"type": "main",
"index": 0
}
]
]
},
"Code2": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"instanceId": "59be0260bd17e4ccdb6b2a365521aba45e86a7e0f78cc21b76261a5cda7af5b7"
}
}
Share the output returned by the last node
7 binary files, didn't save them because of the error interruption, I can ensure that 6 files are < 1MB, but one file, a video file, usually around 20MB and 200MB, I can ensure it is less than 500MB.
Debug info
core
- n8nVersion: 1.102.3
- platform: docker (self-hosted)
- nodeJsVersion: 22.17.0
- database: postgres
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
client
- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/138.0.0.0 safari/537.36 edg/138.0.0.0
- isTouchDevice: false
Generated at: 2025-07-18T17:29:46.172Z}
Describe the problem/error/question
Out of memory error, but there is a lot of free memory!
There is no Docker definition for memory usage.
The machine uses 2.5G, it has 15.5G of real RAM (not SWAP), tried these envs with no difference:
What is the error message (if any)?
{ "errorMessage": "Execution stopped at this node", "errorDescription": "n8n may have run out of memory while running this execution. More context and tips on how to avoid this <a href='https://docs.n8n.io/hosting/scaling/memory-errors/' target='_blank'>in the docs</a>", "errorDetails": {}, "n8nDetails": { "time": "7/18/2025, 7:43:37 AM", "n8nVersion": "1.102.3 (Self Hosted)", "binaryDataMode": "filesystem" } }Please share your workflow/screenshots/recording
{ "nodes": [ { "parameters": { "bucketName": "reddit-to-tiktok", "fileKey": "={{ $('Split Out2').item.json.file }}" }, "type": "n8n-nodes-base.s3", "typeVersion": 1, "position": [ -1120, -784 ], "id": "74b23981-6c39-4e9d-b8a5-71b89d38f822", "name": "Download File", "credentials": { "s3": { "id": "fpBLJ6tLm43tDt6B", "name": "Minio account | reddit-to-tiktok" } }, "onError": "continueRegularOutput" }, { "parameters": { "mode": "runOnceForEachItem", "jsCode": "return {\n json: {\n length: (await this.helpers.getBinaryDataBuffer($itemIndex, 'data')).length\n }\n}" }, "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ -960, -784 ], "id": "ad863aa1-6d86-45d0-ae2f-e4e1334af37e", "name": "Code2" } ], "connections": { "Download File": { "main": [ [ { "node": "Code2", "type": "main", "index": 0 } ] ] }, "Code2": { "main": [ [] ] } }, "pinData": {}, "meta": { "instanceId": "59be0260bd17e4ccdb6b2a365521aba45e86a7e0f78cc21b76261a5cda7af5b7" } }Share the output returned by the last node
7 binary files, didn't save them because of the error interruption, I can ensure that 6 files are < 1MB, but one file, a video file, usually around 20MB and 200MB, I can ensure it is less than 500MB.
Debug info
core
storage
pruning
client
Generated at: 2025-07-18T17:29:46.172Z}