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

QBluetoothDeviceDiscoveryAgent take CPU/Ram usage to 100%

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      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)

      Description

      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 

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: