Re: [Qt-creator] 12GB for Creator? (OSX)

2016-06-17 Thread Jason H
Amazing stuff! Thanks for the tip!

> Sent: Friday, June 17, 2016 at 1:54 PM
> From: "Mike Jackson" <imikejack...@gmail.com>
> To: "Jason H" <jh...@gmx.com>
> Cc: qt-creator <qt-creator@qt-project.org>
> Subject: Re: [Qt-creator] 12GB for Creator? (OSX)
>
> The easiest way to see what all is needed is to use the Tools->C++ 
> Tools->Inspect C++ Model.
> 
> That will show you just how many other files are included in your source 
> file to make it compile. Sometimes this is enlightening.
> 
> Sometimes the ClangBackend just goes off the deep end and consumes a 
> bunch of memory.
> 
> -- 
> Mike Jackson  [mike.jack...@bluequartz.net]
> 
> 
> Jason H wrote:
> > There is a library outside of Qt, but it is in the LIBS line of the .pro - 
> > no source from that is used aside from it's INCLUDEPATH and #include 
> > headers, all the headers of that library are 28k lines. They aren't 
> > explicitly included in my .pro
> >
> >
> >> Sent: Friday, June 17, 2016 at 1:28 PM
> >> From: "Mike Jackson"<imikejack...@gmail.com>
> >> To: qt-creator<qt-creator@qt-project.org>
> >> Subject: Re: [Qt-creator] 12GB for Creator? (OSX)
> >>
> >> Your code might be 6.5K lines, but how many other 3rd party libraries
> >> were included?
> >> --
> >> Mike Jackson  [mike.jack...@bluequartz.net]
> >>
> >>
> >> Jason H wrote:
> >>> I only had about 20 documents open, and nothing huge. 6.5k total lines.
> >>>
> >>>> Sent: Thursday, June 16, 2016 at 3:27 AM
> >>>> From: "Eike Ziller"<eike.zil...@qt.io>
> >>>> To: "Jason H"<jh...@gmx.com>
> >>>> Cc: qt-creator<qt-creator@qt-project.org>
> >>>> Subject: Re: [Qt-creator] 12GB for Creator? (OSX)
> >>>>
> >>>>
> >>>>> On Jun 15, 2016, at 6:44 PM, Jason H<jh...@gmx.com>   wrote:
> >>>>>
> >>>>> Creator was running fine, but none of my OS was. I launched Activity 
> >>>>> monitor, and it was taking up 12GB. I can type fast, but I don't type 
> >>>>> that much in a week, so I don't think it's undo history.
> >>>>> I restarted Creator and it takes 94MB.
> >>>>> Loaded the same project as under 12GB, 154 MB.
> >>>>>
> >>>>> Creator 3.6.0, Based on Qt 5.6.
> >>>>>
> >>>>> Is this fixed or am I doing something wrong?
> >>>> If you are using the Clang code model, the memory was probably taken by 
> >>>> that.
> >>>> Possibly reason: Many open documents.
> >>>> Dor Qt Creator 4.1 we added automatic releasing of resources of “old” 
> >>>> documents (in general for the “text” editors, not just the code model), 
> >>>> so this should not happen to that extend any more.
> >>>>
> >>>> Br, Eike
> >>>>
> >>>> --
> >>>> Eike Ziller
> >>>> Principal Software Engineer
> >>>>
> >>>> The Qt Company GmbH
> >>>> Rudower Chaussee 13
> >>>> D-12489 Berlin
> >>>> eike.zil...@qt.io
> >>>> +123 45 6789012
> >>>> http://qt.io
> >>>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> >>>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht 
> >>>> Charlottenburg, HRB 144331 B
> >>>>
> >>>>
> >>>>
> >>>>
> >>> ___
> >>> Qt-creator mailing list
> >>> Qt-creator@qt-project.org
> >>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> >> ___
> >> Qt-creator mailing list
> >> Qt-creator@qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/qt-creator
> >>
>
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] 12GB for Creator? (OSX)

2016-06-17 Thread Mike Jackson
The easiest way to see what all is needed is to use the Tools->C++ 
Tools->Inspect C++ Model.


That will show you just how many other files are included in your source 
file to make it compile. Sometimes this is enlightening.


Sometimes the ClangBackend just goes off the deep end and consumes a 
bunch of memory.


--
Mike Jackson  [mike.jack...@bluequartz.net]


Jason H wrote:

There is a library outside of Qt, but it is in the LIBS line of the .pro - no 
source from that is used aside from it's INCLUDEPATH and #include headers, all 
the headers of that library are 28k lines. They aren't explicitly included in 
my .pro



Sent: Friday, June 17, 2016 at 1:28 PM
From: "Mike Jackson"<imikejack...@gmail.com>
To: qt-creator<qt-creator@qt-project.org>
Subject: Re: [Qt-creator] 12GB for Creator? (OSX)

Your code might be 6.5K lines, but how many other 3rd party libraries
were included?
--
Mike Jackson  [mike.jack...@bluequartz.net]


Jason H wrote:

I only had about 20 documents open, and nothing huge. 6.5k total lines.


Sent: Thursday, June 16, 2016 at 3:27 AM
From: "Eike Ziller"<eike.zil...@qt.io>
To: "Jason H"<jh...@gmx.com>
Cc: qt-creator<qt-creator@qt-project.org>
Subject: Re: [Qt-creator] 12GB for Creator? (OSX)



On Jun 15, 2016, at 6:44 PM, Jason H<jh...@gmx.com>   wrote:

Creator was running fine, but none of my OS was. I launched Activity monitor, 
and it was taking up 12GB. I can type fast, but I don't type that much in a 
week, so I don't think it's undo history.
I restarted Creator and it takes 94MB.
Loaded the same project as under 12GB, 154 MB.

Creator 3.6.0, Based on Qt 5.6.

Is this fixed or am I doing something wrong?

If you are using the Clang code model, the memory was probably taken by that.
Possibly reason: Many open documents.
Dor Qt Creator 4.1 we added automatic releasing of resources of “old” documents 
(in general for the “text” editors, not just the code model), so this should 
not happen to that extend any more.

Br, Eike

--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.zil...@qt.io
+123 45 6789012
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B





___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] 12GB for Creator? (OSX)

2016-06-17 Thread Jason H
There is a library outside of Qt, but it is in the LIBS line of the .pro - no 
source from that is used aside from it's INCLUDEPATH and #include headers, all 
the headers of that library are 28k lines. They aren't explicitly included in 
my .pro 


> Sent: Friday, June 17, 2016 at 1:28 PM
> From: "Mike Jackson" <imikejack...@gmail.com>
> To: qt-creator <qt-creator@qt-project.org>
> Subject: Re: [Qt-creator] 12GB for Creator? (OSX)
>
> Your code might be 6.5K lines, but how many other 3rd party libraries 
> were included?
> -- 
> Mike Jackson  [mike.jack...@bluequartz.net]
> 
> 
> Jason H wrote:
> > I only had about 20 documents open, and nothing huge. 6.5k total lines.
> >
> >> Sent: Thursday, June 16, 2016 at 3:27 AM
> >> From: "Eike Ziller"<eike.zil...@qt.io>
> >> To: "Jason H"<jh...@gmx.com>
> >> Cc: qt-creator<qt-creator@qt-project.org>
> >> Subject: Re: [Qt-creator] 12GB for Creator? (OSX)
> >>
> >>
> >>> On Jun 15, 2016, at 6:44 PM, Jason H<jh...@gmx.com>  wrote:
> >>>
> >>> Creator was running fine, but none of my OS was. I launched Activity 
> >>> monitor, and it was taking up 12GB. I can type fast, but I don't type 
> >>> that much in a week, so I don't think it's undo history.
> >>> I restarted Creator and it takes 94MB.
> >>> Loaded the same project as under 12GB, 154 MB.
> >>>
> >>> Creator 3.6.0, Based on Qt 5.6.
> >>>
> >>> Is this fixed or am I doing something wrong?
> >> If you are using the Clang code model, the memory was probably taken by 
> >> that.
> >> Possibly reason: Many open documents.
> >> Dor Qt Creator 4.1 we added automatic releasing of resources of “old” 
> >> documents (in general for the “text” editors, not just the code model), so 
> >> this should not happen to that extend any more.
> >>
> >> Br, Eike
> >>
> >> --
> >> Eike Ziller
> >> Principal Software Engineer
> >>
> >> The Qt Company GmbH
> >> Rudower Chaussee 13
> >> D-12489 Berlin
> >> eike.zil...@qt.io
> >> +123 45 6789012
> >> http://qt.io
> >> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> >> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht 
> >> Charlottenburg, HRB 144331 B
> >>
> >>
> >>
> >>
> > ___
> > Qt-creator mailing list
> > Qt-creator@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] 12GB for Creator? (OSX)

2016-06-16 Thread Eike Ziller

> On Jun 15, 2016, at 6:44 PM, Jason H  wrote:
> 
> Creator was running fine, but none of my OS was. I launched Activity monitor, 
> and it was taking up 12GB. I can type fast, but I don't type that much in a 
> week, so I don't think it's undo history. 
> I restarted Creator and it takes 94MB.
> Loaded the same project as under 12GB, 154 MB.
> 
> Creator 3.6.0, Based on Qt 5.6.
> 
> Is this fixed or am I doing something wrong?

If you are using the Clang code model, the memory was probably taken by that.
Possibly reason: Many open documents.
Dor Qt Creator 4.1 we added automatic releasing of resources of “old” documents 
(in general for the “text” editors, not just the code model), so this should 
not happen to that extend any more.

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.zil...@qt.io
+123 45 6789012
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B



___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


[Qt-creator] 12GB for Creator? (OSX)

2016-06-15 Thread Jason H
Creator was running fine, but none of my OS was. I launched Activity monitor, 
and it was taking up 12GB. I can type fast, but I don't type that much in a 
week, so I don't think it's undo history. 
I restarted Creator and it takes 94MB.
Loaded the same project as under 12GB, 154 MB.

Creator 3.6.0, Based on Qt 5.6.

Is this fixed or am I doing something wrong?
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator