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

High cpu usage when working in QT Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.6.1, Qt Creator 4.6.2
    • None
    • Gentoo QTCreator 4.6.2 Clang 5/6
    • Linux/X11

    Description

      got the same issue and looked at forums however did not see it resolved and i think its a real bug.

      Preqs: use qtcreator for some time with Clang plugin. 

      issue: system monitor shows a 25% usage by the qtcreator process. this happens randomly when you use or not the editor (it just opened). high cpu usage continues during 2 minutes plus and eventually go away or not. the longest time i remember was a couple of hours when no activity was done in the editor.

      steps to reproduce: 

      – have qtcreator opened for a while (clang plugin must be loaded)

      – when high cpu usage is started, close the ide 

      – open again with default params (clang plugin is on) -> high cpu usage continues

      – close and start the ide from terminal without Clang plugin loaded (screen 2) -> cpu usage is ok

      – close and start the ide again with default params -> high cpu usage comes back again and continues for some time 

      can do that forever. 

      attached 2 process dumps when cpu is high and one after it resolved by itself.

      tried with clang versions 5 and 6. 

      qt-creator is built with clang, git and webtools only.

      i think its correct to say that as longer you do not close qtcreator as longer the time periods with high cpu load continue.

      Attachments

        1. qt-creator.high-cpu.log
          218 kB
          Alex B
        2. qt-creator.high-cpu2.log
          212 kB
          Alex B
        3. qt-creator.high-cpu-off.log
          208 kB
          Alex B
        4. Screenshot_20180723_002121.png
          90 kB
          Alex B
        5. Screenshot_20180723_002637.png
          78 kB
          Alex B
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            intord Alex B
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes