How is Memory usage is calculated?
jcmaad
HOBBYOP

2 months ago

Observibility tab shows RAM usage under 100Mb:

While GitHub service shows usage slightly under 200Mb :

and Postgress shows under 100Mb:

which one of these metrics are charges being calculated on? also, shouldn't these numbers align

$10 Bounty

3 Replies

Railway
BOT

2 months ago

Billing is calculated based on per-minute memory usage as shown in the per-service Metrics tab, not the Observability dashboard. The Observability dashboard widgets and the per-service Metrics tab can show different values because they may cover different time windows or use different aggregation - the first screenshot shows a full day view with both services overlapping, while the individual service views show a shorter window. Your current billing period shows $3.16 in memory for "Github: realestate" and $2.54 for "Postgres," consistent with the per-service metrics (~200MB and ~100MB respectively running continuously). You can always check your exact billed usage at the Usage page.


Railway
BOT

2 months ago

This thread has been marked as private. Any further activity in this thread will only be visible to you and Railway employees.

Status changed to Awaiting User Response Railway about 2 months ago


jcmaad
HOBBYOP

2 months ago

all three screenshots are based on 6 hour window. observabily graph never goes above 100mb, while ithub service is steady under 200mb.


Status changed to Awaiting Railway Response Railway about 2 months ago


Railway
BOT

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway about 2 months ago


jcmaad

all three screenshots are based on 6 hour window. observabily graph never goes above 100mb, while ithub service is steady under 200mb.

Well in your observability graph, the purple line represents the memory your Postgres is using, not both (There's a legend at the bottom of the graph).


Welcome!

Sign in to your Railway account to join the conversation.

Loading...