nestjs

Hello, I've been deploying my nestjs application on railway previously it was working fine but suddenly i started encountering this issue.
Solution:
I think it's time to upgrade to the dev plan
Jump to solution
15 Replies
Percy
Percy•2y ago
Project ID: N/A
Brody
Brody•2y ago
looks like you ran out of resources, upgrade to the dev plan and re-deploy
paragthakur56
paragthakur56OP•2y ago
seems like I still have credits left @Brody
Brody
Brody•2y ago
ah sorry I should have been more clear, I'm talking specifically about the ram resources, you only get 512mb of ram on the trial plan, hit that resource limit and your app will crash in mysterious ways
paragthakur56
paragthakur56OP•2y ago
ah thanks, should my app even consume 512MB ram resources I've just started with it's development so it doesn't have a lot of API's currently.
Brody
Brody•2y ago
ideally, no it shouldn't show me a screenshot of your service metrics set to 1 day
paragthakur56
paragthakur56OP•2y ago
paragthakur56
paragthakur56OP•2y ago
Brody
Brody•2y ago
definitely possibly that there are tiny spikes up to 512mb that get smoothed by the graph what's your start script?
paragthakur56
paragthakur56OP•2y ago
I've added this export NODE_OPTIONS=--max_old_space_size=4096 and then there is the command nest start
Brody
Brody•2y ago
I mean, you don't even have 4096mb on the trial plan, so I don't know why you'd set that
paragthakur56
paragthakur56OP•2y ago
If i don't export this then this issue pops up
Solution
Brody
Brody•2y ago
I think it's time to upgrade to the dev plan
paragthakur56
paragthakur56OP•2y ago
okay, thanks for your help @Brody
Brody
Brody•2y ago
no problem 🙂
Want results from more Discord servers?
Add your server