Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.3
-
Windows 7, Symbian
-
c1491c356f3cca92a359468ce37f38bc1873eec4 91096126440aafba22aeb9307cb72135b3156a4c
Description
I have an application that has a loader that is loaded with a ListView that contains a model. If I repetitively load and unload the loader with this ListView the memory keeps increasing and never stops. The memory usage does not increase if I keep the model in memory all the time so that I create it in root level and reference to it in the ListView.
I attached minimal application that demonstrates the behavior. main.qml got all the logic and LeakListMode.qml got simple model.
The application UI has red and green rectangle. Pressing the red rectangle contiguously causes the memory increase but pressing the green one does not.
Attachments
For Gerrit Dashboard: QTBUG-21084 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
3567,2 | Fix memory leak in ListModel custom parser | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |