[Development] QML Demo has a higher memory usage than Wdiget Demo

Thiago Macieira thiago.macieira at intel.com
Thu Jun 16 05:37:49 CEST 2022


On Wednesday, 15 June 2022 18:10:11 PDT YaNing Lu wrote:
> I am going to refactor a Widget-based application into a QML-based
> application.
> I found that the actual memory usage of the program will be much higher.
> So I wrote qml-demo and widget-demo for experimental verification. I want
> to
> know the specific reasons. What improvements can be made in terms of
> optimization.

You didn't answer the question.

The difference is that QML is a different technology from widgets.

If you want more details, please use a memory profiler to size the heap (as 
opposed to memory mappings) and find out consumes most memory.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Development mailing list