Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setMaxListeners in sails js #4448

Open
bibudha opened this issue Jun 11, 2018 · 2 comments
Open

setMaxListeners in sails js #4448

bibudha opened this issue Jun 11, 2018 · 2 comments

Comments

@bibudha
Copy link

bibudha commented Jun 11, 2018

Sails version: 0.12.11
Node version: 7.6.0
NPM version: 4.1.2
DB adapter name: mysql
DB adapter version: N/A
Operating system: Ubuntu

#################################

Hi I got this error in my sails project

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

How to resolve this ?

@sailsbot
Copy link

Hi @bibudha! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check.

Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly.

*If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact [email protected]

@miller3000
Copy link

@bibudha Is it possible this is not a Sails issue? There are some informative links in the comments for closed Sails issue #931, as well as this closed issue at Node.js help. Otherwise try following sailsbot's guidelines by explaining the steps that led to that warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants