title: Loading and saving large images using UIImageJPEGRepresentation crashes my app
body: <p>My app can take pictures or select them from the camera roll, the, using <code>UIImagePicker</code> I send the picture to a <code>ViewController</code> where the user then can crop the image.     </p>
  
  <p>The final result is <code>UITableView</code> with a name and a thumbnail and every row leads to the full sized picture. The thumbnails are the original picture in a different scale. </p>
  
  <p>This is how I save my picture after the crop:</p>
  
  <pre><code>[UIImageJPEGRepresentation(_justNowImage.image, 0.1) writeToFile:jpgPath atomically:NO];
  </code></pre>
  
  <p>This is how I open it to a thumbnail or to full size.</p>
  
  <pre><code>_imageInPocket.image = [UIImage imageWithContentsOfFile:jpgPath];
  </code></pre>
  
  <p>If I crop small pictures everything is working fine but I try to crop a big picture (over 2 MB) the app will crash, probably du to lack of memory. </p>
  
  <p>My project is using ARC. Do I still need to release the images from the memory somehow?
  Should i create small versions of the images and use them as thumbnails instead of loading all the original pictures in the <code>UITableView</code> and change their scale to fit the <code>Cell</code> ?</p>