i’m in a little of a pickle
So glitch projects are limited to 512MB ram, i ran os.totalmem() (i need it for info command) and it always displays 32168366080. so i converted bytes to mb and it said 32168.366MB that is very far from 512MB. the free ram reading is also very off. my friend suggested that node may not be reading what my app is restricted to??
help would be appreciated!
Hi @SpeedyCraftah, welcome to the Glitch Forums!
Get Express Package CPU, RAM and Disk to display for my Discord Bot has some better info for what you’re looking for. What you’re seeing with
os.totalmem() is the project host’s memory, not the container’s memory.
Thanks! had everything i needed