[Webkit-unassigned] [Bug 106304] [Qt] High memory consumption and memory growth in Qt5's WebKit compared to Qt4.8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 15 02:31:57 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=106304





--- Comment #5 from bugzilla at kaffeeschluerfer.com  2013-04-15 02:30:13 PST ---
(In reply to comment #4)
> I found the test application to also incur a higher memory use on Linux with Qt5 than on Qt 4.8.4 (tested with valgrind/massif). This is most likely due to the JS-QObject bridge now being based on the JSC C API and some additional copies in that implementation.
> 
> I found the most siginificant spikes in memory usage when using the QString test case and I suspect the changed implementation when converting strings in convertValueToQVariant to be the culprit.
> 
> I will see what we can do to get this fixed or at least lower memory usage for this.

Thank you for taking a look. However, it's also very strange that the initial memory usage is 3 times higher, even is you do not use the JS-QObject bridge. You can even out-comment the whole JS-QObject bridge stuff and run the program: the initial memory usage is still 3 times higher.
(In my test program the absolut numbers are not so high, but in a real application we have a view which initially takes 60 MB with Qt4 and initially approx. 200 MB in Qt5!)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list