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

High memory usage after running overnight

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.11.2, Qt Creator 4.12.0
    • All Other Issues
    • None
    • Linux/X11

    Description

      I just installed Qt 5.14.2 using the online installer and opened an existing project yesterday. Qt Creator is running for about 20 hours now. I did some editing as usual, compiled the code and left it open over night. Today, when I was looking at the memory status it was in use at about 50%, so I executed the command "ps -o pid,user,%mem,command ax | sort -b -k3 -r" to find the cause of this. And it showed that 45.1% was used by the qtcreator process. The clang backend used about 1.5% by that time. Yesterday, at some point, it was already about 25%. So, it appears that some memory is allocated and never freed until exiting Qt Creator. During that time, 9 files were opened. None had unsaved changes.

      Previously used version was 4.9.1 (Qt 5.11.3 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
      built on May 27 2019 00:16:48 from revision 168e91b618). With this version, that problem did not occur even with more files open.

      EDIT 2020-04-27: Just checked The 4.12.0 release of Qt Creator but the problem still exists (27.1% - 8GB - memory usage after a few hours of running with just one project and 6 files open, no changes made).

      Attachments

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

        Activity

          People

            con Eike Ziller
            narodahk narodahk
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes