Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] Qt Creator 2.2.84 memory consumption

    Tools
    4
    8
    4778
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      a.v.mich last edited by

      Hello. From 2.3 beta version of Qt Creator I encountered a problem of large memory consumption. For 4-5 hours of the work the memory consumption increases to 1.5-2 GB and I need to restart Creator for continue. Is it just my case, or this is a common problem?

      OS: Windows 7 64 bit

      !http://goo.gl/tK9CK(Process Explorer screenshot)!

      1 Reply Last reply Reply Quote 0
      • A
        andre last edited by

        Perhaps you should file a bug report. I leave my Creator instance running for days on end without any problems though.

        1 Reply Last reply Reply Quote 0
        • A
          a.v.mich last edited by

          For my version, I found that the main memory usage occurs when you use the key shortcut Ctrl+Space. I can make a bug request if this problem can be reproduced from someone else.

          1 Reply Last reply Reply Quote 0
          • M
            moellney last edited by

            I have a similar problem ... can you check if it comes from including <Windows.h>?

            In my case I could speed up code completion tremendously when banning this include to the *.cpp files.

            1 Reply Last reply Reply Quote 0
            • T
              tobias.hunger last edited by

              Qt Creator needs a lot of memory to keep all the information stored in all the headers and files used available. Depending on the size of the projects (incl. the headers you include in it) that can be a lot of memory.

              Does the memory consumption increase over time without you opening projects? That would point to a memory leak somewhere.

              moeliney: The time it takes to find all possible completions depends on the number of files included (directly or by other include files). So yes, making sure headers are only included where necessary does speed up Qt Creators code completion. It also reduces compile times by the way, sometimes rather drastically.

              1 Reply Last reply Reply Quote 0
              • A
                a.v.mich last edited by

                The memory consumption increase with only one opened project during coding. The same project at 2.2 Qt creator does not lead to a permanent memory consumption.

                1 Reply Last reply Reply Quote 0
                • T
                  tobias.hunger last edited by

                  Please "report a bug":http://bugreports.qt.nokia.com/ then. Is the project that you see the issue with available to the public?

                  1 Reply Last reply Reply Quote 0
                  • A
                    a.v.mich last edited by

                    https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5947

                    bq. The fix is available in master.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post