Anonymous
OP
2 years ago
My memory always increases automatically, is there any way to limit or clear the memory after deploys or any way to reduce costs?
7 Replies
2 years ago
You can set hard limits on the service settings but u should definitely investigate what is causing the mem usage increase because limiting it may make your app crash
2 years ago
maybe a mem leak...
2 years ago
yeah
2 years ago
if you want to restart it in a schedule, there's https://railway.com/template/fwH-l3
2 years ago
but again I would take a look on why that's happening, setting resource limit will only make your app crash sometime in the future