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

Memory consumption permanently grows when switching build configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.4.0, Qt Creator 16.0.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Windows 10 1703 64 bit
      MSVC2015 64 bit
      Qt 5.9.1 (for building the running Qt Creator and for parsing the project)
      release build
    • ec65481b5 (16.0)

    Description

      1. Open the project qtcreator.pro from Creator's repository.
      2. Wait for all progress bars to finish.
      3. Check Creator's memory consumption.
        Here it's stable at 878 MB. (Of course you'll see different values. I just want to give an orientation.)
      4. Switch to a different build configuration.
      5. Wait for all progress bars to finish.
      6. Check Creator's memory consumption.
        Here it's stable at 927 MB.
      7. Switch to the previous build configuration.
      8. Wait for all progress bars to finish.
      9. Check Creator's memory consumption.
        Here it's stable at 941 MB. I don't see why the memory consumption should have grown because there's nothing that has not been parsed before.

      When you keep switching from one build configuration to the other, Creator's memory consumption grows by more than 10 MB each time. I suspect that this happens while parsing C++ because that's the active progress bar when the memory consumption rises.

      Creator should not consume more and more memory when repeating these simple steps.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              rlohning Robert Löhning
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes