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

Memory consumption permanently grows when switching build configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important 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)

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes