R
Railway9mo ago
Sergi

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?
7 Replies
Percy
Percy9mo ago
Project ID: 7aa4dadf-746a-47d6-bd50-72a01cf0d9c6
Sergi
SergiOP9mo ago
7aa4dadf-746a-47d6-bd50-72a01cf0d9c6
Medim
Medim9mo 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?
Duchess
Duchess9mo 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.
Brody
Brody9mo ago
so to be clear, the metrics in railway say your app is using 1.2gb? what is your start command / start script?
Sergi
SergiOP9mo ago
I have a Dockerfile : FROM node:alpine WORKDIR /app COPY package.json . RUN npm install COPY . . EXPOSE 3000 CMD ["npm", "start"]
Brody
Brody9mo ago
what is your start script
Want results from more Discord servers?
Add your server