Qml problem with memory usage
-
Hi,
I have a problem with QML, i develop a simple interface with a Window and one button, if you click the button
it shows an other Window. If you notice the memory usage when open the second window, you can see that it increases,
but when you close the window the memory decreases only of a little part.
I know that it is possible that the system preserves
part of memory for the feature "creation" but if I click the button an other way, the memory grows( and so I lost 1/2 Mb of memory).
I read a lot of documentation,I destroy the second window
,delete all its reference and force the garbage collector, but the situation is the same.
This is a very big problem because if you repeat this operation for a long time, your application crash (for memory usage).
I work with Qt 5.9.3 on Windows but have the same problem in Linux and Mac.Can you tell me. Thanks a lot.