title: IOS: UIImage fileNamed -> Too many files open
body: <p>In my IOS application I have the 5 UIImageViews which load a bunch of images using the [UIImageView fileName:...] API. In IOS 4.2, im getting application crashes because of the following error:</p>
  
  <pre><code>ImageIO: CGImageRead_mapData 'open' failed '/var/mobile/Applications/6CCEFE3D-198A-460A-B496-EA4C11F4200D/EKS.app/e250.png'
       error = 24 (Too many open files)
  
  /Developer/usr/lib/libXcodeDebuggerSupport.dylib: open() failed with errno=24
  /Developer/usr/lib/libXcodeDebuggerSupport.dylib: stat() failed with errno=0")
  </code></pre>
  
  <p>How do I go about properly closing the files which are opened using this API?</p>
  
  <p>Thanks</p>