-
Notifications
You must be signed in to change notification settings - Fork 7
Possible EventEmitter memory leak #3
Comments
I hadn't seen that before, but it's not a memory leak. There's just lots of watching going on. I guess the solution is just to up the limit. |
@magnars Thanks for the feedback! If you know it offhand, would you mind throwing me a bone as far as the syntax to do this? |
I don't know exactly how it works, but according to the error message, you can use |
Found some more info here: http://stackoverflow.com/questions/12151737/node-js-how-to-emitter-setmaxlisteners More info: Obviously, it's just a warning, so not a huge deal, but we're using this in https://github.com/balderdashy/sails, so I'm trying to kill the warning to avoid scaring new users. |
I would wager a guess that you need to set max listeners directly on the complaining EventEmitter. |
Anyone else seen this?
The text was updated successfully, but these errors were encountered: