Description
Describe the bug
The n8n process is taking a lot of RAM memory, in this case 1.1 GB, and 41.7 GB of virtual memory.
To Reproduce
Steps to reproduce the behavior:
- Install n8n using Docker/Portainer
- Use it with some workflows managing some data (5000 rows in a Google Sheets, for instance)
- Check the System Monitor.
- See RAM memory consumption
Expected behavior
A little memory consumption when idle. If taking a lot of memory during a workflow run, release it when it ends.
Environment (please complete the following information):
- OS: Ubuntu Linux 23.10
- n8n Version: 1.16.0
- Node.js Version: ?
- Database system: postgresql
- Operation mode [e.g. own; operation modes are
own
,main
andqueue
. Default ismain
]
Additional context
Here are some screenshots.
All process list sort by memory:
I did a new fresh install of the same Docker stack, without any workflow, and the memory consumption seems to be low. This makes me thing about this could be a (or some) workflow that is taking a lot memory, or that successive running keep increasing the memory without release it.
In any case the memory should be freed when no workflow is running.