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.