Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] Qt Creator 2.2.84 memory consumption
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt Creator 2.2.84 memory consumption

Scheduled Pinned Locked Moved Qt Creator and other tools
8 Posts 4 Posters 5.4k Views 1 Watching
  • 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 Offline
    A Offline
    a.v.mich
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      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
      0
      • A Offline
        A Offline
        a.v.mich
        wrote on last edited by
        #3

        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
        0
        • M Offline
          M Offline
          moellney
          wrote on last edited by
          #4

          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
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            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
            0
            • A Offline
              A Offline
              a.v.mich
              wrote on last edited by
              #6

              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
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                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
                0
                • A Offline
                  A Offline
                  a.v.mich
                  wrote on last edited by
                  #8

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

                  bq. The fix is available in master.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved