Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
-
This should be solved with the new cache customization, so I'll lock the discussion as resolved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
Wanted to create a discussion/thread where folks can share ideas on the best ways to optimize and reduce memory usage in Discord.js. I want to focus mostly on ways to reduce the memory usage that Discord.js itself brings, versus what a user might add in with their own data held in memory.
For me, I use the built-in message sweeping with the following options:
I also have custom sweeping set up on users in the bot, to help reduce memory usage further:
What tips/tricks do y'all have for keeping memory usage down?
Beta Was this translation helpful? Give feedback.
All reactions