R
Railway

✋|help

system ran out of memory

MMATX8/25/2023
Can someone help me? When I try to run my react app i get this error message.
tuya_react_frontend@0.1.0 start

react-scripts start

Starting the development server...

The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.

tuya_react_frontend@0.1.0 start
Solution:
here is an example create-react-app, it uses caddy to serve your app, this will use sub 20mb of memory
https://github.com/brody192/create-react-app-starter
all you should need to do is copy the nixpacks.toml and Caddyfile files into your project
Jump to solution
BBrody8/25/2023
it is because you are running a extremely resource heavy development server on railway, you never want to do that, for multiple reasons, one of those reasons you just found out
MMATX8/25/2023
Does this mean I can't run any react apps?
BBrody8/25/2023
you can, you just don't run a development server, and we will get back to the solution after I eat
Solution
BBrody8/26/2023
here is an example create-react-app, it uses caddy to serve your app, this will use sub 20mb of memory
https://github.com/brody192/create-react-app-starter
all you should need to do is copy the nixpacks.toml and Caddyfile files into your project

Looking for more? Join the community!

Recommended Posts
Litestar command not foundHey all apologies for the possibly silly question. I am looking to deploy this repo: https://github.save temporary archivesCan i save temporary pdfs to a back-end host ? I'm trying to save a pdf file from a client upload bHow to host websockets?This is my first time hosting socket server, how can i do that on railway? I docs there are only webI cannot use opencv2 and received ImportError: libgl.so.1 cannot open shared object file no such filCan anyone help me with that ??LibreofficeHi I need libreoffice installed to use in my code. I attempted using the below nixpacks.toml ``` [Random app crash, no logs or other indicatorWhen trying my healtcheck I get random crashes, no recent deploy was made, I don't see any logs on mModify build commandHow would I modify the build command so it does a pip install of `psycopg2` ? I was told to remove tPayment method removalHey, how do I remove my payment method? I opted in for a credit subscriptions but still see my crediDeploying crashedHello, i'm facing a problem when deploying my spring boot application to railway, my application worInternal server error when accessing TypebotI noticed that since yesterday the new installations with the Typebot template present the error IntRAILWAY_PUBLIC_DOMAIN replaces RAILWAY_STATIC_URLHi team, we've been hunting down a bug with our app today, occurring on many PR Environments and it'My Subscription issueHello dear support guys: I found that I have been downgraded to No Subscription.. If my memory is rIs it normal for hello world json to return in 600ms? - GO FIBERHelp setting up a monorepoI'm getting this error when deploying my project. I made sure no other deployments are running, but