Is my memory usage of n8n unusual?

Hello,

I just created a container with n8nio/n8n image, but it consumed 100MiB of my memory.
Is my memory usage of n8n unusual?

CONTAINER ID        NAME                  CPU %               MEM USAGE 
a3c0adaf28b3        task.server           0.00%               109.2MiB

Welcome to the community @kingcc!

No looks fine to me. For me, it even uses slightly more. So all good.

Hi jan,

Thank you for your hard work and reply me!

Do you have any plans to reduce it? Because I think 100MiB is still a bit much for a Nodejs App on standby.( Or I am wrong…)

Many thanks

Yes, it is always planned to improve that but to be honest, is not high on our agenda right now, and also not sure if huge improvements are currently even possible.

What is planned is making it easier to load external nodes in the future. But until that is in place the memory usage will probably grow more as for some new integrations additional modules are needed and n8n will always need much more memory than if you would write a custom Node.js application. There is sadly always an overhead running a tool like n8n.

2 Likes

What is planned is making it easier to load external nodes in the future

Great! This will be really helpful to avoid upgrading n8n instance when adding new nodes :slight_smile:

Yes, but in many cases, a restart would still be needed if they require additional npm modules.

1 Like