Is this memory usage normal for an idle Node/Express instance?
I'm running a very simple Node.js + Express backend with two endpoints. Neither endpoints are being called, so 50MB feels like a lot for something that's idle. Also, in the build logs it's showing the published image is 80+ MB even though the output of the
npm run build
is less than 1KB.5 Replies
Project ID:
4375237b-31f5-41f4-a755-fad8e0ad6a68
4375237b-31f5-41f4-a755-fad8e0ad6a68
Solution
50MB of ram usage is normal for a Node app.
railway uses docker, so the image size you are seeing is the size of the docker image not just your code
Gotcha, thanks!