[webkit-qt] Memory Consumption Qt4 vs Qt5
Rethmeier, Eike
eike.rethmeier at wincor-nixdorf.com
Wed Jan 2 03:41:28 PST 2013
@Pierre: That's a question I myself can not answer. There's just too much 'in-depth' knowledge neccessary.
@Simon: "Do you produce the numbers you posted with your little test app, meaning just starting and showing the window already gets you to 24 mb?" Yes. I just retested the stuff several times with Qt5 final, and the numbers are 25-29 MB (just starting and showing) while 4.8.4 takes 6-7 MB. After sending data with the Qt5 build (ie using the JS bridge), the memory consumption grew up to 53 MB, then 79MB, then 82 MB, then it did not increase anymore. With 4.8.4 the memory consumption just increased to 8-9 MB.
Shall I post a bugzilla issue for this?
From: Pierre Rossi [mailto:pierre.rossi at gmail.com]
Sent: Wednesday, December 19, 2012 11:42 PM
To: Hausmann Simon
Cc: Rethmeier, Eike; webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Memory Consumption Qt4 vs Qt5
Hi all,
Could it be another side-effect of the infamous https://bugs.webkit.org/show_bug.cgi?id=104135 ?
Pierre
On Wed, Dec 19, 2012 at 9:19 PM, Hausmann Simon <Simon.Hausmann at digia.com<mailto:Simon.Hausmann at digia.com>> wrote:
Hi,
I have the feeling that the increased memory consumption during bridge use might be the result of us making more use of the GC heap for temporaries. Triggering GC manually would be one way of testing that.
Regarding the regular memory usage I'm very surprised. Do you produce the numbers you posted with your little test app, meaning just starting and showing the window already gets you to 24 mb?
(I haven't made the time yet to try to reproduce that but I'll try soon under Linux)
Simon
"Rethmeier, Eike" <eike.rethmeier at wincor-nixdorf.com<mailto:eike.rethmeier at wincor-nixdorf.com>> wrote:
Hi,
[ Win7 and WinXP, Visual Studio 2010 ]
I just saw that QtWebKit in Qt5 RC2 let the memory consumption increase by factor 3 (7MB to approx. 24 MB). When doing some testing with the JS bridge (sending data from JS to C++ ) the memory consumption in Qt5 even grew up to a factor of 6 or 7 (step by step to approx 45MB, and it did not go down anymore), while in Qt4 there was almost no memory increase (finally 8 or 9MB).
I used my very simple test program which I attached at bug https://bugs.webkit.org/show_bug.cgi?id=104540
Did you also experience such a high memory consumption?
Eike
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org<mailto:webkit-qt at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo/webkit-qt
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130102/118d166a/attachment.html>
More information about the webkit-qt
mailing list