title: Where is my AVPlayer's memory, and how do I get it back?
body: <p>I'm playing heaps of videos at the same time with <code>AVPlayer</code>. To reduce loading times, I'm storing the corresponding views in a <code>NSCache</code>.</p>
  
  <p>This works fine until reaching a certain number of videos, from which the videos simply stop playing, or even appearing. </p>
  
  <p>There's no error, log or memory warning. In particular, I'm listening to <code>UIApplicationDidReceiveMemoryWarningNotification</code> to clear the cache but this is never received.</p>
  
  <p>If I remove the cache, all the videos play at expense of worse performance.</p>
  
  <p>This makes me suspect that <code>AVPlayer</code> is using memory from a different process (which one?). And when that memory reaches a certain limit, new players cease to work.</p>
  
  <p>Is this correct?</p>
  
  <p>If so, is there a way to be notified when this magic limit is reached to take the appropriate measures (e.g., clear the cache) to ensure playback of other media?</p>