Giter VIP home page Giter VIP logo

Comments (6)

rcoletti116 avatar rcoletti116 commented on August 19, 2024 1

I was just about to open an issue about this and came here and found this one. Interesting timing. I've been having a memory leak as well and working to find the root. I test individual plugins and narrowed it down to this one. I didn't catch the error in the logs though.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Interesting. If you could enable debug logging, that would help, so I can see what’s being constructed.

from homebridge-lutron-caseta-leap.

zackwag avatar zackwag commented on August 19, 2024

Sure. I've attached my log. Please ignore all the Homebridge Somneo and Homebridge Connected Device Occupancy. In debug mode, I log a lot of data
homebridge.log
.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Thanks for the report. Each device subscribes to receive unsolicited messages from the hub, and that has a default limit of 10. There's not actually a leak there (not related to that warning, anyway). @rcoletti116 how are you observing the memory leak?

from homebridge-lutron-caseta-leap.

rcoletti116 avatar rcoletti116 commented on August 19, 2024

@thenewwazoo I noticed my memory usage growing over time, eventually crashing my instance. I began monitoring and testing each plugin. Using htop and other tools on my pi I watched as the %mem grew for my child bridge for this plugin from 4% to 8% over a couple of hours. Then I disabled the plugin to test.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Hm. Can you open a new issue with the data you've collected, version info, and a listing of the devices you have (just a count is fine)?

from homebridge-lutron-caseta-leap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.