Deploy Logs show out of heap memory
My server runs fine locally, but only in Railway it fails to deploy and shows the following attached messages.
The build phase works fine.
31 Replies
Project ID:
00a98625-f237-4950-bfaa-f6b77695df8c
00a98625-f237-4950-bfaa-f6b77695df8c
I made sure the node version is the same as my local with environment variable
NIXPACKS_NODE_VERSION
which is version 18
I'm seeing
nodejs-20.6.1
in multiple places in those logsOh sorry that is an old log. Let me get you new one with the
NIXPACKS_NODE_VERSION
update.what do your memory metrics look like
Oh weird... Even though my build log says I'm using
nodejs_18
at the top, my deployment log has 20
like you said.I guess docker runtime environment is Node
20
?1.9gb image??
what do your memory metrics look like
Where did you see 1.9gb image?
your build logs
Oh you mean the docker image.
When I start up my server locally, it uses up about
1GB
of RAM memory.what do your memory metrics look like on railway
My server never started up properly. The out of memory message shows up immediately when
yarn start
is executed.![No description](https://cdn.answeroverflow.com/1173190880472084520/Screenshot_2023-11-12_at_13.21.04.png)
fair
My guess is that the Memory metrics is the memory usage during the run time of the server?