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

Robert Iakobashvili coroberti at gmail.com
Tue Apr 21 13:53:36 CEST 2015


On Tue, Apr 21, 2015 at 2:43 PM, Nuno Santos <nunosantos at imaginando.pt> wrote:
> Harri,
>
> That doesn’t make sense. Simulator is just displaying the real resolution of
> the device. In retina case 2048x1536. Why would it display something 2.5
> times bigger for no apparent reason.
>
> I have an iPad 2 and my app was designed in a 1024x768 base. My tests on a
> real device were on this base. The app memory usage on this conditions on
> the iPad are about 50Mb.
>
> When we go to retina display, the problem is that the display cache
> multiplies by 4 because the resolution has doubled in both axis. This leads
> to an increase in memory. This is my guess.
>
> I also think that Qt is loading all the libs at once. I cannot explain such
> a big memory footprint for an empty app.
>
> I would like some insights from Qt dev people.
>
> I have been analysing, code portion by code portion and I have already found
> out interesting things that I will share later.
>
> Regards,
>
> Nuno Santos
> Founder / CEO / CTO
> www.imaginando.pt
> +351 91 621 69 62

Dear Nuno,

Have you tried to compare widgets-only project (there are may examples)
versus a Qml project?
Thanks.

Kind regards,
Robert

Regards,
Robert



More information about the Interest mailing list