When will iOS trigger the didReceiveMemoryWarning
method?
I am getting a crash in my app while playing an DRM encryped video.
Check the below screenshot. I am using only 27mb of RAM and I am getting a memory warning in the console as you can see in the image and the app simply crashes. What can be the possible reason?
I tried profiling the app using allocation instrument. I checked the discard events with freed memory
and ran the app. There also I am getting the memory warning message even though the app only uses ~50mb of RAM.Please check the image below.