Could not extend file because project size limit (512 MB) has been exceeded

I currently only have four workflows. Why is this happening?

en asked before, please follow the template below. Skip the questions that are not relevant to you. →

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hello @Li_Jia for docker you can change the environment variable to unrestrict the file max size. have in mind this is not in relation to separate workflows sizes. this error is for this one workflow’s file that is exceeding the limit. if you wish to reduce the file size instead then please share the canvas so I can replicate and review on my side.

version: ‘3.8’
services:
n8n:
image: n8nio/n8n
environment:

  • N8N_DEFAULT_BINARY_DATA_MODE=filesystem
  • N8N_MAX_PAYLOAD_SIZE=1GB
  • EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true
    volumes:
  • n8n_data:/home/node/.n8n

Thank you for your reply. I reinstalled my n8n and added two environment variables, hoping it will work. N8N_PAYLOAD_SIZE_MAX: 512
EXECUTIONS_DATA_PRUNE: “true”

1 Like

Let me know how that goes!
N8N_PAYLOAD_SIZE_MAX: 512 ← this needs to be bigger then 512 - try 1GB

1 Like

Currently It does work. May be run failed in the future after creating a lot workflow.

1 Like

Glad to hear @Li_Jia - please mark comment as solution if you can :slight_smile:

2 Likes

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