#how do i use GetServerMemoryUsageMb()?

11 messages · Page 1 of 1 (latest)

mental garnet
#

i'm trying to make a script that shuts down the server if memory usage is too high, but GetServerMemoryUsageMb isn't a valid member of anything that i tried parenting it to in the script. tried asking my proffesional dev friend and they don't know either.

calm pulsar
#

it's a method of the Stats service

#

not of Game

#

but, i'm not 100% if it's usable on the server - may want to check

mental garnet
#

ok it worked

#

thanks

chilly parcel
#

your professional dev friend is not professional if he didnt answered that 🙏

#

or at least he was vague to your question lol

mental garnet
#

he said "i cant rn srry"

#

quite vague