homebridge-camera-ui: Memory leak
accidentally I get some times after Motion ON memory leak, this was happened in 5.x.x beta and release:
OS: Raspbian GNU/Linux Bullseye (11) Node: v16.3.1 Hardware: RPI 4B
[12.01.2022, 07:44:27] [CameraUI] Tył: Motion ON
(node:9259) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 closed listeners added to [HAPConnection]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
[12.01.2022, 07:44:42] [CameraUI] Tył: Motion handler timeout.
[12.01.2022, 07:44:47] [CameraUI] Tył: Closing recording process
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (19 by maintainers)
So, after 12h test No any memory leak, looks like the problem is solved and can be closed.
no, looks like all ok but continue testing.
done in v5.0.5-beta.10
OK, may be print log with:
Starting video stream: nativeall other parameter are irrelevant.
no thats already fixed in v5.0.5-beta.9, edited my post above
@grzegorz914
~v5.0.5-beta.8 online~ v5.0.5-beta.9 online
sudo npm i -g homebridge-camera-ui@5.0.5-beta.9Thats from the internal history api, only shown if debug is enabled
I will do but need some time to test this because memory leak not always happens.