Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.5.1, Qt Creator 4.8.0
-
None
-
Windows 7
-
f6b8302efdcf62677fbf35873ac8b42d485868b6 (qt-creator/qt-creator/master)
Description
The Clang code model consumes much memory.
Opening many source files one after the other brings memory consumption to enormous levels. In the attached screenshot you can see it has reached 12.6GB!
All I did was to open the Include Hierarchy of a common header, then I opened each file and if it did not use the included class, I deleted the include line. After about 30-40 files the machine started swapping endlessly and became impossible to use (I have 16GB RAM).
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-19974 clangbackend eats huge amount of memory
- Closed