Closed hirokuni closed 6 years ago
Searching for bridges only makes sense, when you lose connection or when you didn't connect to a bridge yet. I would also advice you to subscribe to our other channel, because we reimplemented the bridge discovery module and also fixed some memory issues. Subscription link: https://developers.meethue.com/content/edk-terms-use
Hi
There is a possibility that search thread has memory leak. I could not check in the code since it could be in native code. When I called startBridgeDiscovery() in HueQuickStartAppAndroid continuously like following patch , I realized that memory consumption (VSIZE and RSS ) seems to be going up. (I checked it with adb shell ps | grep "philips" x 7 times).
patch
Memory status
I would like to continuously keep searching bridge and hue lights without UI trigger around the mobile device. Could you advise me what I should do for it?