Bot RAM usage
Hi, I have a Discord bot that is in around 65,000 servers. I have sharding, and it launches around 65 shards.
They all come up, but I have noticed the RAM creeps up (see image) The increase is when I started it, and you can see it creeping up after. I'm worried about how high its going to climb. The bot is super simple, one command and sends a request to an API, then returns the response.
Support would be appreciated.

17 Replies
- What's your exact discord.js
npm list discord.js and node node -v version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!It's up to 13.5 GB RAM in the screenshot
what intents do you have?
@wolvinny🌈 is that amount of RAM expected?
tbh reactions can be removed
ah, is there any option to remove the cache? we literally only need the one slash command
oh yeah true
maybe a low limit instead of disabling it entirely
but if i dont need it?
ill test it without
then this
yeah i will test removing intents like Messages
@Qjuh @Amgelo

looking better
ty
How do you track ram like this?
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Thats cool
yeah
You can use hybrid sharding too I think
But that requires adjusting the script