Qt releasing memory occopied by unneeded images

Posted by Gerhman on Stack Overflow See other posts from Stack Overflow or by Gerhman
Published on 2011-11-20T09:27:18Z Indexed on 2011/11/20 9:51 UTC
Read the original article Hit count: 187

Filed under:
|
|
|
|

I have a QML Flickable with 3 QML image elements that cycle through 8 image files. My problem is for each new image it loads into memory it does not release the the unused image. This is causing memory usage to become double what is necessary at times.

I would like to know if there is some function I can use to force it to unload all the unused images? If it makes a difference, this is mainly for Symbian.

© Stack Overflow or respective owner

Related posts about c++

Related posts about image