Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-955 Fix template expansion
  3. QTCREATORBUG-851

QtCreator eating all the memory while indexing, then crashing

    XMLWordPrintable

Details

    • f5c9a158c160f0daa4adaf5a0c0bb7e8ac01a897

    Description

      When I opened one of my projects, QtCreator did an Analyze (successfull) and then started Indexing.
      The indexing progress bar stayed empty, and QtCreator ate up the memory very fast.
      After 10-15 seconds, the system became totally unresponsive and had to be reseted.

      I tried removing all documentations from the QtCreator help configuration, the result was the same.

      I then tried to grow the memory to 1.5GB.
      The system responded again after a good minute, when QtCreator crashed.
      In the Windows Task Manager, I saw then that at the time of the crash, the peak memory of QtCreator was 1.1 GB and the current used memory 50 MB.

      The Windows problem details were:

      Problem signature:
        Problem Event Name:	APPCRASH
        Application Name:	qtcreator.exe
        Application Version:	0.0.0.0
        Application Timestamp:	4b5266a3
        Fault Module Name:	CPlusPlus.dll
        Fault Module Version:	0.0.0.0
        Fault Module Timestamp:	4b52669f
        Exception Code:	c0000005
        Exception Offset:	0002d583
        OS Version:	6.1.7600.2.0.0.256.1
        Locale ID:	1036
        Additional Information 1:	6159
        Additional Information 2:	6159b45a555b2ff07c222bd5a42c6120
        Additional Information 3:	216c
        Additional Information 4:	216cc2d3bf907a9b9a5b2d45cdc6ca0a
      
      Read our privacy statement online:
        http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
      
      If the online privacy statement is not available, please read our privacy statement offline:
        C:\Windows\system32\en-US\erofflps.txt
      

      When I clicked on "Debug the program", Visual Studio 2008 could not attach to qtcreator.exe, so I don't have more details.

      Note: I'm not sure it it's linked, but this bug happens when opening the project for which the bug QTCREATORBUG-849 occured.
      On the command prompt, I did

      qmake
      nmake
      nmake distclean

      Then I deleted all the generated files (debug, release folders, moc, ui and qrc files), started QtCreator and opened the project. The problem remains.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            greisby Greisberger Christophe
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes