If c++ modules becomes supported it could go down but actually you should 
request that in the clang mailling list. We open a translation unit for every 
file and they are that big. We research precompiled header to improve speed and 
maybe they provide advantages in memory usage too.

________________________________
From: Development <[email protected]> on 
behalf of kang joni <[email protected]>
Sent: Wednesday, October 26, 2016 11:57:55 AM
To: [email protected]
Subject: [Development] clangbackend qtcreator 4.2 memory hogging

I have small project in which contains 2k SLOC with heavy v8 js
template included in source file.
For small opening 3-4 sources file this take almost 870mb in memory
with no precompiled header being checked plus qtcreator eats 280mb
with 2gb Intel celeron and this is definitely not desirable for me. I
have feature request  whether is this possible to put heavy c++ symbol
data in sqlite file with multithread concurrent access mechanism
instead to keep clangbackend memory usage being low?
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to