Memory leak message

#1

Hello All

In order to help me identify what are the node that create the memory leak what is this (node:24366) in the list bellow? how can i find this bad guy?

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

0 Likes

#2

Is there a message in the debug pane? If so you can use the Search feature to search for the node id in the message in the debug pane.

0 Likes

#3

Colin

No this message ins only in the node-red-log. And this node may be from node.js and not from the node-red

JLG

0 Likes

#4

This is an error from nodejs itself, so can't tell from that what is causing it. It's a warning rather than an error though so not a big problem while we figure it out..

One of the nodes you have added is probably not handling redeploys correctly and is adding another listener for inputs each time you deeply. (Is usually the problem)

0 Likes

#5

Or, there actually are 11 clients listening... isn't there a setting that allows you to bump up that warning threshold?

0 Likes

#6

True, but only inside the node in question . whichever that is...

0 Likes