R
Railway12mo ago
x4zx

What does memory consumption depend on?

The bulk of the cost of the project is taken up by memory, but I'd like to learn more about what affects it so much. I would also like to know if it is RAM or regular memory?
No description
Solution:
Your app's memory usage on Railway is effected by the same things that effect it anywhere else stuff like: - code efficiency and coding methodology ( obviously ) - Third party libraries, for example: tensorflow.js would use way more memory than something like express.js...
Jump to solution
10 Replies
Percy
Percy12mo ago
Project ID: f8cc6b6a-813b-4d34-b2f8-20c87fba3048
x4zx
x4zx12mo ago
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
Fragly
Fragly12mo ago
<:mommy_confused:1023749002069540935> what's the diference between RAM and regular memory?
x4zx
x4zx12mo ago
By regular memory, I mean regular SSD or HDD.
Solution
Fragly
Fragly12mo ago
Your app's memory usage on Railway is effected by the same things that effect it anywhere else stuff like: - code efficiency and coding methodology ( obviously ) - Third party libraries, for example: tensorflow.js would use way more memory than something like express.js - Libraries you use effect memory too, since each comes with their own memory management system - Languages you use, rust for example would use way less memory than javascript since it's just a memory effecient language - And obviously what your App does effects its memory too, a simple API for generating random names would use way less memory than a discord bot for moderation tons' of stuff effects memory usage honestly, pretty hard to list them all
Fragly
Fragly12mo ago
Oh, I feel like more people would consider that persistent storage rather than memory the memory refered to there is RAM
x4zx
x4zx12mo ago
Got it, thanks so much for the reply
Fragly
Fragly12mo ago
no problem :)
Brody
Brody12mo ago
god damn fragly that was a beautiful answer
Fragly
Fragly12mo ago
<:smirk_glasses:1117823655892766821> thank you
Want results from more Discord servers?
Add your server