[Qt-qml] QML memory usage with "import QtWebKit"

michael.brasser at nokia.com michael.brasser at nokia.com
Fri Dec 10 06:12:00 CET 2010


Hi Greg,

>From what I remember 10MB for the "base" usage of webkit sounds about right, though I didn't realize that just an import statement would add this cost. Did you try any other configurations? e.g. did adding an empty WebView cause the memory to go up or was it still around 13MB?

Regards,
Michael

On 30/11/2010, at 6:48 PM, ext Gregory Schlomoff wrote:

> Hello,
> 
> One simple observation. Launching the following code in qmlviewer.exe,
> I get a memory usage of aroung 3 megabytes:
> -----------------------
> import QtQuick 1.0
> 
> Rectangle {
> 	width: 200
> 	height: 200
> }
> ------------------------
> 
> Now, with the following code, memory usage jumps to 13 megabytes. I'm
> not instantiating any WebView element, just importing QtWebkit.
> -----------------------
> import QtQuick 1.0
> import QtWebKit 1.0
> 
> Rectangle {
> 	width: 200
> 	height: 200
> }
> ------------------------
> 
> Is that normal? Would someone care to explain what the import
> statement is doing that is adding 10 mb of memory consumption?
> 
> Thanks
> 
> Greg
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml





More information about the Qt-qml mailing list