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

QNetworkAccessManager. High CPU usage when idle on MacBook Pro/Air.

    XMLWordPrintable

Details

    • macOS

    Description

      If write simple application

      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
      
          QNetworkAccessManager *networkManager = new QNetworkAccessManager;
      
          return app.exec();
      }
      

      then it starts load CPU up to 99% (periodically).
      I can reproduce this on MacBook Air and MacBook Pro. On Mac Mini with OS X Yosemite 10.10.5 this simple app uses 0,5-1% of CPU (also periodically).

      Attachments

        1. MacBookAir.png
          MacBookAir.png
          61 kB
        2. MacBookPro.png
          MacBookPro.png
          104 kB
        3. out.txt
          553 kB
        4. QTBUG-50181.tgz
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richmoore Richard Moore (qtnetwork)
            kibsoft Kirill Bukaev
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes