Memory Leak
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interactionCreate listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
I recently got this error, my bot only has 2 slash commands and 4 context menus, which are not used much, I already asked in the djs server and they said to go ask here instead8 Replies
Could you show the stack trace?
I already rebooted the server so the errors were cleared, however it also displayed this:
Error: Opening handshake has timed out
What's the stack trace for that
I already rebooted the server so the errors were cleared
Maybe you have too many awaitMessageComponent calls you didn't add a
time
property too for auto-clearingnone of my slashes or context menus uses that
also i've been running slash commands and context menus for a while and I cannot replicate the error, could be a host issue?
I'm out of ideas without the code or the full error
if I ever get the error again I will create another post
and if I remember correctly in the error there were a lot of
Error: Opening handshake has timed out
probably 10+