[maemo-developers] Looking for help from a GTK guy with 2 projects

From: Michael Hasselmann michael at taschenorakel.de
Date: Mon Nov 14 11:18:26 EET 2011
On Mon, 2011-11-14 at 10:23 +0200, Ивайло Димитров wrote:
> Meh. The reason why QT keyboard would not be acceptable to replace
> hildon vkb is very simple - QT memory footprint. Did you forget n900
> comes with 256MB of RAM? And running even simple QT/QML application
> consumes about 8%-10% of that? While it sounds very good in theory, in
> practice(under memory pressure) it would just slow the device even
> further.

Memory footprint is an issue, but most of it should be shared unless you
plan to never ever run any other Qt app on the N900.

Also, why not tackle the memory footprint? As it seems, Qt is not using
a slab allocator. So even for a "simple" QString, the PIMPL and the
QMetaObject are seemingly heap-allocated. Memory trashing is a real
concern.

Glib has been using slab allocators for ages, perhaps the time has come
for Qt to use more than the Glib mainloop ;-)

regards,
Michael

More information about the maemo-developers mailing list