[Development] clangbackend qtcreator 4.2 memory hogging

kang joni kangjoni76 at gmail.com
Wed Oct 26 12:35:49 CEST 2016


so I'm now just thinking the possibility to pack list of clang symbol
internal chunk of class to be serialized into qdatastream binary and
send it over sqlite column. But this is just my dummy thought. Could
you please possibly integrate this project
http://rprichard.github.io/sourceweb/ into qtcreator as well. I had
succeed with it readonly indexing my production project at 60k SLOC
and the whole nodejs project source tree with it's dependency project
like openssl, v8 js ,libuv etc...
@Marco Bubke what do you think, they have friendly BSD license mainly btw?

On 10/26/16, Marco Bubke <Marco.Bubke at qt.io> wrote:
> 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 <development-bounces+marco.bubke=qt.io at qt-project.org> on
> behalf of kang joni <kangjoni76 at gmail.com>
> Sent: Wednesday, October 26, 2016 11:57:55 AM
> To: development at qt-project.org
> 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
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list