[Interest] Question to members of the Qt team: why does an empty project consumes so much memory on iOS?

Thiago Macieira thiago.macieira at intel.com
Tue Apr 21 19:13:11 CEST 2015


On Tuesday 21 April 2015 09:38:19 Nuno Santos wrote:
> I have been comparing the memory usage by an empty iOS and an empty Qt
> project on iOS running on an iPad Air. It seems that this is not
> comparable. Please take a look to the following image. The iOS native
> project uses 16Mb of memory, while the Qt project needs almost 90Mb. It
> happens that if the memory limit with an empty project is almost next to
> the limit, how can a normal app run smoothly? I have made this test, after
> realising that my app was using 160Mb on the iPad Air simulator. This is
> huge!

Because, like I said last time you asked this (yesterday), you're not 
measuring it properly. Please give us a breakdown of what those 90 MB are.

How much of that are pure pages containing discardable code?

Note that "top" and "ps" are not good tools to measure memory consumption.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list