How to limit maximum ram usage of ktor app?
ekoo
TRIALOP
2 years ago
I tried to deploy hello world ktor app using trial plan, but the memory usage always reach maximum capacity in this plan, how to limit that?, I put the detail configuration in this issue
https://youtrack.jetbrains.com/issue/KTOR-6772/Limit-maximum-ram-usage-when-deploy-in-railway.app
1 Replies
2 years ago
If Railway provided a way to set a max usable memory and you set it to 256mb then your app would constantly crash loop in the exact same way it's crash looping right now, if what you are running requires more memory than what the plan allows for you would need to upgrade your plan
Status changed to Solved Railway • about 2 years ago