[Qt-qml] [Query] :- Ways to reduce RAM usage in Qt/QML application

Jason H scorp1us at yahoo.com
Fri Feb 11 15:37:06 CET 2011


Did you 'strip' your binaries?




----- Original Message ----
From: "ext-bhooshan.supe at nokia.com" <ext-bhooshan.supe at nokia.com>
To: qt-qml at qt.nokia.com
Sent: Thu, February 10, 2011 10:34:56 PM
Subject: [Qt-qml] [Query] :- Ways to reduce RAM usage in Qt/QML application

Hi All,

I am working on a project which involves development of "Qt/QML/C++ Application" 
for Tablet kind of embedded device.

The runtime RAM usage of the application is exceeding the budgeted RAM for this 
application.
I am using Qt 4.7.1 with QWS.
This application is only Qt/QML application in the system.

Followings are the things I have done so far:-
    1. Avoided compilation of unnecessary components by using appropriate 
configure options e.g. -no-webkit, -no-openssl -no-cups -no-largefile, etc
    2. Reduced code segment by using "-qconfig local" option during 
configuration and using modified "qconfig-minimal.h" file
    3. Avoided using "The Qt Resource System"

Other than this I have tried to use "QML:Loader".
But surprisingly I have observed that the "Peak Memory" usage is more than 
"without QML:Loader"

Any suggestion are deeply appreciated.

Thanks And Regards,
Bhooshan Supe.
_______________________________________________
Qt-qml mailing list
Qt-qml at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml



      


More information about the Qt-qml mailing list