Sharding RAM (switching from internal to traditional sharding)

How much RAM typically does a bot with around 40 shards use? I'm switching my bot from internal sharding to traditional sharding and I'm concerned about how much of a RAM increase I'm going to get by doing that and if my server will have enough RAM for what is needed šŸ˜…
4 Replies
d.js toolkit
d.js toolkitā€¢2y ago
ā€¢ What's your exact discord.js npm list discord.js and node node -v version? ā€¢ Post the full error stack trace, not just the top part! ā€¢ Show your code! ā€¢ Explain what exactly your issue is. ā€¢ Not a discord.js issue? Check out #useful-servers.
probablyraging
probablyragingā€¢2y ago
Would depend entirely on the project
dzlandis
dzlandisOPā€¢2y ago
Well lets say with internal sharding, my bot can get up to 3.5GB of RAM usage with 40 shards How much more would it be with traditional sharding? Is it possible to figure that out in advance?
probablyraging
probablyragingā€¢2y ago
No, what I'm trying to say is it would depend on lots of different factors, such as the number of servers the bot is running on, the complexity of the bot's functionality, and the size of the cached data, etc.. A ballpark would be like 2-12GB but it could be even more You would be better off overcompensating and then downgrading later if you have head room
Want results from more Discord servers?
Add your server