R
Railway11mo ago
biermanm

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.
Solution:
50MB of ram usage is normal for a Node app.
Jump to solution
5 Replies
Percy
Percy11mo ago
Project ID: 4375237b-31f5-41f4-a755-fad8e0ad6a68
biermanm
biermanm11mo ago
4375237b-31f5-41f4-a755-fad8e0ad6a68
Solution
MantisInABox
MantisInABox11mo ago
50MB of ram usage is normal for a Node app.
Brody
Brody11mo ago
railway uses docker, so the image size you are seeing is the size of the docker image not just your code
biermanm
biermanm11mo ago
Gotcha, thanks!
Want results from more Discord servers?
Add your server
More Posts