memory
my bot is across 10,000 guilds with 10 shards, each shard is approximal needs 550-750mb
I am using the following intents:
and those are the sweepers:
please ignore the presences filter I just wanted to completely clear it because it was consuming so much memory .
any idea of how to monitor the bottle neck or what causes this consumption? (just for instances I am not using big dicts or anything like that mostly there is calls to db and there is nothing cached aprat djs cache)
using default library's :
5 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!is there anything I can do to reduce it?
or you got some memory leaks with mongoose, i had that too
What is the normal usage of memory for a simple bot (like per shard)
Average?