[Interest] QJsonObject memory leak?

Nuno Santos nuno.santos at imaginando.pt
Thu Nov 2 23:37:39 CET 2023


Thiago,

How?

I have sent an example project to this list, you will see it has nothing besides that.

Two buttons, two functions.

I would love to understand how to properly deal with this in a simple case so I can better handle it on the real use case that triggered this doubt.

Thank you!

Best,

--
Nuno Santos

> No dia 02/11/2023, às 21:52, Thiago Macieira <thiago.macieira at intel.com> escreveu:
> 
> On Thursday, 2 November 2023 11:54:25 PDT Nuno Santos wrote:
>> Thiago,
>> 
>> So, there is no way of recovering that memory back until the process is
>> closed?
> 
> No, you can free the memory that caused the fragmenting. It's probably
> whatever happened between the two functions that you talked about.
> 
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Cloud Software Architect - Intel DCAI Cloud Engineering
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list