2 years ago
Hey there, we just migrated to Railway and in the last 24h I saw that the memory usage is consistently at 500mb, without much traffic.
Is that normal? / Do we have to expect at least 5$ sub + 10$ memory usage each month?
15 Replies
2 years ago
That is unfortunately completely normal memory usage for a MySQL deployment, MySQL is a memory hog, I'd recommend Brody's [MariaDB Template]() though, it's basically a drop in replacement for MySQL and should be a lot more memory effecient
2 years ago
2 years ago
you can also try adding that parameter to the end of the start command as stated by brody
2 years ago
@DaFelix
2 years ago
but it wont do any miracles lol
2 years ago
friendship ended with medim, now fragly and grid are my best friends
2 years ago
i can confirm that swapping in mariadb saves about 100-150mb of memory overhead
Technically it should help if there is little to no traffic right?
10 months ago
oh yea for sure, that is definitely an option
heads up though, as far as I know the private network doesn't pair well with serverless yet
10 months ago
it can, your application just needs to have seamless reconnect retries, but easier said than done depending on the application
10 months ago
!s
Status changed to Solved brody • 10 months ago