From: Floyd, P. <pj...@wa...> - 2022-02-28 17:00:52
|
On 2022-02-28 17:28, Stefano Antonelli wrote: > Hello list, > > I have a Qml application that leaks memory when run normally. I've > reduced it to a very simple Qml app and it still leaks. And the leak > is visible with pmap almost immediately. The application runs on an > embedded device (armhf). Hi Stefano I don't know much about Qml. Does this use any sort of memory manager or garbage collector? One thing that you could try is to run your application with --tool=massif and then repeat the run but add --pages-as-heap=yes. If there is a big difference in the two then it means that your application is using a memory pool not based on malloc. Use ms_print (or massif-visualizer) to see the massif profiles. A+ Paul |