MaxListenersExceededWarning Error

#1

(node:5906) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit

what is this

0 Likes

#2

Usually that warning come up when you have code that calls .on() repeatedly. What’s the name of the project where you’re seeing this?

0 Likes

#3

If you are calling .on() in many places, vs calling it in one piece of code that is run often, you should be fine!

0 Likes