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

ext-bhooshan.supe at nokia.com ext-bhooshan.supe at nokia.com
Fri Feb 11 04:34:56 CET 2011


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.


More information about the Qt-qml mailing list