-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.10.0
-
None
-
Qt 5.10.0
Win10 64bit
Ubuntu 16.04 64bit
Documentation says:
If the source or sourceComponent changes, any previously instantiated items are destroyed. Setting source to an empty string or setting sourceComponent to undefined destroys the currently loaded object, freeing resources and leaving the Loader empty.
But, In fact I found a continuous increment of memory while keep assigning new sources to the same Loader. It becomes serious when you use a TableView where a lot Tabs with multiple layouts and controls are placed on. Since Tab inherits Loader, function addTab will show a great memory increment and removeTab fail to recycle it. This happens both on Ubuntu16.04 and Windows 10.