QTBUG-15191 Memory Leak with XMLListModel, how to workaround in Qt4.7.0 on Maemo?
Cross-posting from qt-qml mailing list since I didn't get any reply. Sorry for the crime.
I developed a widget for Maemo which is dependent on XMLListModel. The widget
pulls stock quotes from Yahoo finance in regular intervals. Due to a known issue
with XMLListModel , there is a memory leak every time the model is reloaded.
However, I have to reload the model to get the latest quotes.
I am aware that this memory leak will be fixed in Qt 4.8.0. However, I don't
know if/when Maemo will get the Qt update. Until then, I am looking for a
workaround to avoid the memory leak. Here is a skeleton of my code. Can you
give me any suggestions?
I'm having exactly the same issue with XmlListModel, have you found any solution yet?