[Interest] Qt3D memory leaks

Igor Mironchik igor.mironchik at gmail.com
Fri Apr 14 08:41:34 CEST 2017


Hi,

More data (in MB):

1. 136.1

2. 143.5 (+7.4)

3. 145.9 (+2.4)

4. 147.2 (+1.3)

5. 150.1 (+2.9)

6. 152.3 (+2.2)

7. 152.0 (-0.3)

8. 154.7 (+2.7)

I guess that small memory leaks still exist.

P.S. 5 years tree has 341 branches and 512 leafs. All of them I delete 
on restart of tree (I checked it).

14.04.2017 8:13, Igor Mironchik пишет:
> Hi,
>
>
> 13.04.2017 22:20, Igor Mironchik пишет:
>> Hi,
>>
>>> The entity takes ownership of any components that are parentless 
>>> when added. This is done using the usual QObject ownership mechanism 
>>> so the components will be deleted by the entity when it is being 
>>> destroyed just like any other QObject parent. There may be a leaks 
>>> elsewhere but I don't think this is it. There were some leaks 
>>> related to VAOs fixed around the time of the 5.8.0 release. I can't 
>>> recall if they made it into 5.8.0 or not off the top of my head. 
>>> Please try with a build from the 5.9 branch in git.
>>
>> I will try to build Qt 5.9 and check 3Dtree with it.
>>
>> And sorry guys for the noise... :)
>
> I checked with Qt 5.9 Beta. The situation is much more better.
>
> First tree - 132,9 MB.
>
> Second tree - 141,5 MB.
>
> Third tree - 144,1 MB.
>
> Now probably there are no memory leaks, maybe it's a fragmentation, 
> but maybe there are still small leaks. I don't know.
>
> Measurements done on Windows.
>




More information about the Interest mailing list