WebThingsIO / gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web
http://webthings.io/gateway
Mozilla Public License 2.0
2.62k stars 339 forks source link

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. #3127

Open benfrancis opened 8 months ago

benfrancis commented 8 months ago

Testing 1.2.0-alpha.1 I am seeing errors suggesting a potential memory leak with event listeners:

2024-03-08 13:03:58.845 ERROR : (node:1016) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 layoutModified listeners added. Use emitter.setMaxListeners() to increase limit

Tested on a Raspberry Pi with Zigbee and Z-Wave add-ons being used.