a year ago
I am deploying a medusa js backend and admin. the databases seem to be up and deployment from github says successful. when i try to go to the URL i get 502 This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
the build logs say :
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
No Redis url was provided - using Medusa in production without a proper Redis instance is not recommended
Ive followed the Medusa docs step by step and can't figure out what the problem is.
ⓘ Deployment information is only viewable by project members and Railway employees.
7 Replies
a year ago
They key point here as per those logs is that you are running out of memory.
Upgrade to the Hobby plan and redeploy.
a year ago
I upgraded, redeployed and still have the same errors. this is the project: https://railway.app/project/9ce976bd-ca78-4daa-a0a7-e4fd919159ed if that helps
Attachments
a year ago
sure thank you
Status changed to Solved brody • over 1 year ago
Status changed to Open jgtwenty3 • over 1 year ago
a year ago
So they are up but when visiting the URLs they say Cannot GET/
sorry if it's a stupid question but this is my first time trying to deploy something like this