sbotargues
PRO
a year ago
Do you know if it's normal this size of ram in a frontend created with react and typescript?
2 Replies
a year ago
Tbh depends on your project
a year ago
And also how u are serving it in prod
a year ago
Does it use the same amount of RAM running it in local?
sbotargues
PRO
a year ago
I took a snapshot and it's 9,5MB
sbotargues
PRO
a year ago
I don't know how to debug this usage in prod
a year ago
so to be clear, the metrics in railway say your app is using 1.2gb?
what is your start command / start script?
I have a Dockerfile : FROM node:alpine
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]
a year ago
what is your start script