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

Memory Leak at reloading project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 4.6.0
    • All Other Issues
    • None
    • linux_x64

    Description

      Steps to reproduce:

      1. Open qtcreator project source with qtcreator, let it finish parsing c/c++ symbols. Note the memory usage.
      2. Close qtcreator project. Don't close qtcreator. Note the memory usage doesn't reduce.
      3. Open qtcreator project source again. Note the memory usage doubled compare to the first time.

      This issue may be trivial on small code base project. But for project that has millions lines of code, every reload consumes 1~2GB of memory. The steps are one of the way to reproduce it. There are other means of reproduction such as right click project and edit files will also cause project reload and symbols parsing.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              x1596357 Eric Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes