brianc/node-postgres — Issue #86: (node) Possible eventEmitter memory leak detected. 11 listeners added.
Author: jfeldstein
Created: 2012-01-16 05:57:59+00:00
State: open

Getting this, with a stack trace back into pg. Any tips?

(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace:
at [object Object]. (events.js:123:17)
at [object Object]. (/Users/Jordan/Development/sway-nodes/node_modules/pg/lib/client.js:82:9)
at [object Object].g (events.js:143:14)
at [object Object].emit (events.js:81:20)
at Socket. (/Users/Jordan/Development/sway-nodes/node_modules/pg/lib/connection.js:47:12)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:676:14)
----------------------------------------
at EventEmitter.on
at [object Object].once (events.js:147:8)
at [object Object].connect (/Users/Jordan/Development/sway-nodes/node_modules/pg/lib/client.js:72:7)
at new (/Users/Jordan/Development/sway-nodes/ServicesApi.js:22:11)
at Object. (/Users/Jordan/Development/sway-nodes/update_server.js:28:17)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)