1,2GB RAM usage in React APP

Do you know if it's normal this size of ram in a frontend created with react and typescript?
P
Percy45d ago
Project ID: 7aa4dadf-746a-47d6-bd50-72a01cf0d9c6
S
Sergi45d ago
7aa4dadf-746a-47d6-bd50-72a01cf0d9c6
M
Medim45d ago
Tbh depends on your project And also how u are serving it in prod Does it use the same amount of RAM running it in local?
D
Duchess45d ago
New reply sent from Help Station thread:
I took a snapshot and it's 9,5MB
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
I don't know how to debug this usage in prod
You're seeing this because this thread has been automatically linked to the Help Station thread.
B
Brody45d ago
so to be clear, the metrics in railway say your app is using 1.2gb? what is your start command / start script?
S
Sergi44d ago
I have a Dockerfile : FROM node:alpine WORKDIR /app COPY package.json . RUN npm install COPY . . EXPOSE 3000 CMD ["npm", "start"]
B
Brody44d ago
what is your start script
Want results from more Discord servers?
Add your server
More Posts
Shopify proxy and HTTP/1.0Hello, I need help from members using Railway to host a Shopify app. I ran into this problem where Is it possible to change the default config of a Mysql Container?By default the container uses up a minimum of 500mb of ram, I found a stack overflow post on how to Cannot link, login nor logout with cli>railway logout 🚨 Response not successful status=404 >railway login 🚨 Response not successful staLost 2FA code for my accountI have lost my 2FA authenticator codes and I would like to reset my accountHow does it work the HD allocationI need 360gb to use how much does it cost?how to restore postgres db from dumb?i was given my db archives because my db was deleted due to migration. I am trying to restore the dbActivate SSL on my custom domainHello, I bought the domain apocolinks.com at DreamHost.com, this domain already has an active SSL ceBest way to secure postgres?What would be the best way to secure my postgres instance from outside connections? I would just turdeployments "Crashed"Hello, good afternoon, my problem is: deployments "Crashed" and the information in deploy logs MessaHow to use railway with monorepo?I created a new project and essentially my server code is not at the top level, and instead is one dHow can i set a limit?How can i set a limit per month?How can i pause my deployed MySQL Database before my trial plan ends?My project is named "amakusersdb".Cache mount ID is not prefixed with cache keyI'm getting the error above with this Dockerfile: ```dockerfile ARG NODE_VERSION=20.11.1 # Alpine Made a Paid account with Email and linking it with GitHub makes a separate trial accountHello Guys! I bought Railway Hobby plan three days ago and I'm trying to build my apps on Railway. Bredis-LaravelMy redis service is 098aa7a0-0133-4b8c-97a8-bf792e166423 My laravel service is 388e216e-5872-4cc4-8bPUPPETER AND PDFI need help i am having problem randomly to launch puppeter. i use the instance only to create a PDF<--- JS stacktrace --->FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed -Why do i keep getting this error ? I'm on the Hobby Plan Project ID : 3aa4ba7e-f1f4-4c47-b0e7-162Ioredis Node connection issue.```javascript const redisConnection: RedisOptions = { host: `http://${process.env.REDIS_HORailway volumes in Django not working as expectedHello! I added a Volume to my Django project on Railway for persistent storage of PDF-Generated filIs railway downI'm unable to access my dashboard and when I query my database it was empty