Re: [Interest] Memory leak in QML Image

2015-06-07 Thread Gunnar Roth
I think there is a cache in QtQuick2 of about 2mb size which holds unreferenced images. So you should at least find that the memory usage is saturating after a while. Regards, Gunnar Roth > Am 07.06.2015 um 17:03 schrieb Igor Mironchik : > > Hi, guys again. I'm sorry but question is open. >

Re: [Interest] Memory leak in QML Image

2015-06-07 Thread Igor Mironchik
Hi, guys again. I'm sorry but question is open. I first thought I was wrong. But it's true: changing currentValue results to memory leak. 06.06.2015 0:41, Igor Mironchik пишет: Hi guys, If in QML I have propertyintcurrentValue Image{id:curr;source:""} onCurrentValueChanged:{ if(r

Re: [Interest] Memory leak in QML Image

2015-06-05 Thread Igor Mironchik
Sorry guys, it seems that I'm wrong... 06.06.2015 0:41, Igor Mironchik пишет: Hi guys, If in QML I have propertyintcurrentValue Image{id:curr;source:""} onCurrentValueChanged:{ if(root.currentValue < 0 || root.currentValue > 9) root.currentValue = 0 cur

[Interest] Memory leak in QML Image

2015-06-05 Thread Igor Mironchik
Hi guys, If in QML I have propertyintcurrentValue Image{id:curr;source:""} onCurrentValueChanged:{ if(root.currentValue < 0 || root.currentValue > 9) root.currentValue = 0 curr.source = "file:" + applicationDirPath + "/" + root.currentValue + "