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

[warning] (node) warning: possible EventEmitter memory leak detected #579

Closed
mggg-zz opened this issue Mar 11, 2015 · 1 comment
Closed

Comments

@mggg-zz
Copy link

mggg-zz commented Mar 11, 2015

Hi
I have a raspbian-pimatic installation with 29 devices and 45 variables. The warnings seems to me related with this numbers...
When I start pimatic I get this two messages:

(node) warning: possible EventEmitter memory leak detected. 11 rf listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at Board.addListener (events.js:179:15)
    at new HomeduinoRFShutter (/homeduino.coffee:458:14)
    at Object._this.framework.deviceManager.registerDeviceClass.createCallback (/homeduino.coffee:113:28)
    at DeviceManager._loadDevice (/devices.coffee:850:26)
    at Runner_SQLite3.<anonymous> (/devices.coffee:875:16)
    at Runner_SQLite3.tryCatcher (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:24:31)
    at Promise._settlePromiseFromHandler (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:466:31)
    at Promise._settlePromiseAt (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:545:18)
    at Promise._settlePromises (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:661:14)
    at Async._drainQueue (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:79:16)
    at Async._drainQueues (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:89:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:14:14)
    at processImmediate [as _immediateCallback] (timers.js:358:17)
(node) warning: possible EventEmitter memory leak detected. 11 variableValueChanged listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at VariableManager.addListener (events.js:179:15)
    at VariablePredicateHandler.setup (/predicates.coffee:616:34)
    at /rules.coffee:551:21
    at RuleManager._addPredicateChangeListener (/rules.coffee:548:9)
    at /rules.coffee:638:10
    at tryCatcher (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:24:31)
    at Promise._settlePromiseFromHandler (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:466:31)
    at Promise._settlePromiseAt (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:545:18)
    at Promise._settlePromiseAtPostResolution (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:229:10)
    at Async._drainQueue (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:84:12)
    at Async._drainQueues (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:89:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/etc/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:14:14)
    at processImmediate [as _immediateCallback] (timers.js:358:17)

Should I be worried? Is there any way to remove this warnings?... I like a clean log...
Thanks in advance!!!

@sweetpi
Copy link
Contributor

sweetpi commented Mar 12, 2015

Thanks for reporting. Should be fixed in the new release, please reopen if the problem still exists.

@sweetpi sweetpi closed this as completed Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants