Hi Mark,

thanks for the answer. I'm currently toggling visibility without any
effects. I'll try setting the source to "". Let's hope this helps. It's
difficult to say because those issues do not occur during every run but
more randomly.

Thanks,
Conny 

On Tue, 2012-01-10 at 11:55 -0500, Mark Tucker wrote:
> Hello,
> 
> I believe that setting the source to "" will cause the image and any
> memory it's using to be freed up - I've had to do something similar
> myself recently.
> 
> Mark T
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of Cornelius Hald
> Sent: 10 January 2012 16:21
> To: [email protected]
> Subject: [Qt-qml] Image item and Symbian gfx memory
> 
> Hi,
> 
> I sometimes have the problem that instead of images I get black or
> transparent rectangles on Symbian. I've been told that this happens
> whenever the Symbian (shared) graphics memory is full.
> 
> My question is what is the best way to free graphics memory?
> 
> E.g. if a list delegate or a page contain images but they are currently
> not visible (either because covered by another page or because being
> of-screen) do those images still take gfx memory? If yes how can I
> prevent this?
> 
> - Set visible to false?
> - Set source to ""?
> - Trigger garbage collector?
> - Something else or combinations?
> 
> As I can't find any documentation about that some input would be highly
> appreciated.
> 
> Thanks!
> Conny
> 
> _______________________________________________
> 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


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

Reply via email to