-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5.3, 6.5.8
A memory growth issue has been observed in a Qt Quick application using Loader to dynamically switch between QML components. As Loader.source is changed repeatedly, the application’s memory usage increases continuously. Memory does not appear to be reclaimed effectively, even when Loader.sourceComponent is set to NULL.
This behavior becomes more pronounced in applications with complex or numerous components.
Attached example shows the behavior. This example works better with Qt6.8.4 but Qt6.5 it is eating up memory.
Run the example and hit left bottom button and then using any tool to observe the consumption of memory.