I'm using a YTPlayer view controller to play youtube videos in my app. When an instance is created, memory usage spikes up to 80MB on the simulator. I expect it to go back to its normal value (35MB) when the view is exited but it doesn't. All the other view controllers release memory when I exit from them except this one. I tried dismissing the view controller in the viewWillDisappear method to no avail. How can I fix this?
|