Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

memory issue with iOS7

Hello everyone,

I'm following another post about iOS7 issue (http://answers.opencv.org/question/22880/cvvideocamera-on-ios7/) which has no answer so far.

I've made some test even with the openCV 2.4.7 and the trouble still appearing on iOS7 only.

the memory issue start appearing using cvvideocamera when I use the stop and start function for the 5 times.

In my application I have 2 UIViewController. The first one is using cvvideoCamera which is stop only when the view disappear ( present the second view controller) and start cvvideoCamera when my view controller is appearing.

My second view controller is using AR with the metaio SDK.

the trouble appears when I return from the AR view controller for the 5th times. From this point my application become more and more slow for loading the AR screen and return to the cvvideoCamera view controller. Generally during the 7th times I have to kill my application.

This trouble only happen with iOS7 device.

Is there any workaround to fix the memory issue? I still don't understand why this trouble only appears on iOS7 only.

Furthermore why the cvvideoCamera is re creating from scratch when I call the start method?

Could you please tell me if this error is a known issue? can something be done?

I really thank you for your help