Memory Management issue with AVAssetWriter in iPhone?

久未见 提交于 2019-12-05 12:42:52

I think the problem is that you are running this in a loop, not giving the RunLoop any change to do garbage collection of autoreleased instances.

The memory allocation peak was coming only in the stimulator and it works absolutely fine on the device. Also I have successfully completed the application. I am posting this as an answer just for other users so that they will know the reason of the spike in the memory allocation in the instruments tool.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!