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

CMake memory footprint raised significantly in CMake 3.10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.4.1, Qt Creator 4.5.0-beta1
    • Windows 7, Qt 5.9.2

    Description

      Large CMake projects can not be parsed successful with CMake 3.10.

      In my case, CMake.exe allocates >2.5GB of ram, then QtCreator finishes with the message

      Failed to parse JSON from CMake server

      and the progress bar keeps staying gray (Configuring "ProjectName").

       

      If I disable parts of the project, parsing finishes successfully, but memory consumption of cmake.exe is huge:

      CMake 3.9.6: 220MB / 200MB (max/final)

      CMake 3.10rc1: 1400MB / 250MB (max/final)

       

      I also raised a CMake issue: https://gitlab.kitware.com/cmake/cmake/issues/17502

       

      Edit: Changed title from "CMake projects do not work with CMake 3.10" to "CMake memory footprint raised significantly in CMake 3.10"

       Also affects today's QtCreator snapshot (1686 / Nov 22 2017)

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            fkaelberer Felix Kälberer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes