Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97797

QBluetoothDeviceDiscoveryAgent take CPU/Ram usage to 100%

XMLWordPrintable

    • Windows
    • 7287a6c7c9 (qt/qtconnectivity/6.4) 9ab5122091 (qt/qtconnectivity/dev) 7287a6c7c9 (qt/tqtc-qtconnectivity/6.4) 9ab5122091 (qt/tqtc-qtconnectivity/dev) a8dd5a7c5b (qt/qtconnectivity/6.3) d06ce6c88f (qt/tqtc-qtconnectivity/6.2)

      I am using example project lowenergyscanner of QT. I want to rescan device after each 10s. So I added below line to at the end of function Device::deviceScanFinished()

      QTimer::singleShot(10000, this, &Device::startDeviceDiscovery);

      I connect my LE headset to Windows OS

      After that I run lowenergyscanner, after about 45 minutes then CPU usage up to 100%.

      I see CPU used by Device Association Service increases gradually 

        1. image-2021-10-27-18-30-14-838.png
          183 kB
          Nhung Pham
        2. image-2021-10-27-18-31-50-606.png
          25 kB
          Nhung Pham
        3. Screenshot from 2021-12-16 16-34-06.png
          15 kB
          Ivan Solovev
        4. Screenshot from 2021-12-16 16-33-43.png
          7 kB
          Ivan Solovev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            nhungpham Nhung Pham
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: