Hi,

I am facing memory problems using qml Image. Basically my code is like this

Image
{
id: bigImage
source : "image://myimage/someurl"
}

I have the declarative image provider that returns a pixmap for this. 
Each pixmap is around 1MB. All I do is to keep on changing the source of 
the image bigImage repeatedly to get different images. After some time I 
run out of memory consistently. On Nokia N7 I saw the memory usage and 
it keeps increasing each time I change the source url.

My understanding is that when I change the source url, the pixmap for 
the previous image should automatically get destroyed but it doesnt seem 
to be happening.
Any suggestions how to handle this ?

-- 
Thanks,
Shiva
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to