How to control RAM usage across nodeJs based services, especially for Kafka?
niloyrudra
HOBBYOP

10 days ago

Hello, this is Niloy here. I have a 'Hobby' package and am running my microservices here for one and a half months. My first month's bill was $36+, and the second month's estimated bill is moving around $36-$58, which is quite stressful for me. I saw that the majority of my cost was caused by Memory usage. I can't limit my RAM to less than 500MB using UI, though nearly 15 services require less than 200 MB. I used the 'RAILWAY_MEMORY_LIMIT' environment variable to cut the memory usage down. But I don't think they can control it. Is there any better and more reliable way to handle my memory usage properly so that I can maintain a cost (under $30) that I can afford for a longer period? Thanks

Solved$10 Bounty

0 Replies

Status changed to Open Railway 10 days ago


Status changed to Solved niloyrudra 10 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...