Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23275

High CPU usage in macos Catalina

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.10.0
    • All Other Issues
    • None
    • macOS Catalina,
      MacBook Pro(2018), 6 core
    • macOS

    Description

      After upgrade to macos catelina v10.15.1, the high CPU usage start to show up once a day. It will goes up to take something like 500% CPU, it will last for dozens of seconds. No idea what trigger it, sometimes open a file, sometimes open a project.

      After trying many times, i finally use Instruments to do a time profiling on creator, about 20s when the creator going crazy. One thread(_dispatch_workloop_worker_thread) use about 11s calling on kevent_id, and there are about 10000 threads in creator process, all by name _dispatch_workloop_worker_thread, which all ends up to kevent_id.

      Attachments

        1. dispatch_workloop_worker_thread_9000
          586 kB
          Morton Lin
        2. qt-creator-cpu-600.png
          208 kB
          Morton Lin
        3. Screen Shot 2019-11-26 at 09.25.05.png
          422 kB
          Morton Lin
        4. Screen Shot 2019-11-26 at 09.40.28.png
          171 kB
          Morton Lin
        5. Screen Shot 2019-12-05 at 09.22.41.png
          458 kB
          Morton Lin
        6. too_much_cpu2.png
          509 kB
          Morton Lin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            morton Morton Lin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes