N8N using excessive amounts of RAM
No error messsage
Workflow doesn’t effect this happening ( happens on every workflow )
Information on your n8n setup
- n8n version: 1.77.3
- Database (default: SQLite): Default
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker and also happens with npm
- Operating system: Ubuntu 24.04.1 LTS
Description:
Every time I execute the workflow the RAM increases by 500MB - 1GB
Initially I was using npm and after reading some discussions on this forum, I decided to swap to docker instead.
on system Monitor the “web content” shows at around 5GB after 5-10 runs.
Docker’s container memory usage shows around 275MB / 7.85GB and CPU usage of 0.06%.
I am reluctant to share the workflow as it contains sensitive information.
the most a HTTP get request will process is roughly 30MB.
I have non active workflows, only the one i am testing with the test trigger.
RAM usage does not disappear after i “bin” the workflow to clear data to test again.
Fully restarting my locally hosted n8n server resets the ram to a normal level ~500MB
I have read some similar posts but this was never resolved.
Any ideas?