Good question, I don't know. being C++, I'd imagine it being immediate as soon as the ref count (from C++) reaches zero, for the GraphicsItems. I don't know what the JS objects will do, but should follow.
I did a fair amount of endurance testing with creating destroying and animating QML objects and there was not perceivable lag or leak after weeks. ----- Original Message ---- From: Merja Kajava <[email protected]> To: [email protected] Sent: Thu, March 3, 2011 9:24:31 AM Subject: [Qt-qml] Qt Quick memory allocation Hi, The following page contains general description about the memory allocation in Qt Scripting: http://doc.qt.nokia.com/latest/scripting.html Is there a more detailed description available for Qt Quick about the memory allocation and garbage collection? How often memory is garbage collected? Is there a way to influence the garbage collection for example by specifying how often it happens? Best regards, Merja Kajava _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
