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?
Solution:Jump to 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...
10 Replies
Project ID:
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
<:mommy_confused:1023749002069540935> what's the diference between RAM and regular memory?
By regular memory, I mean regular SSD or HDD.
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
- 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
Oh, I feel like more people would consider that persistent storage rather than memory
the memory refered to there is RAM
Got it, thanks so much for the reply
no problem :)
god damn fragly that was a beautiful answer
<:smirk_glasses:1117823655892766821> thank you