Image Caching Problem
<p>I am Storing the Image taken from UIImagePickerController and saving in the Directory
like:</p>

<pre><code>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
                                                     NSUserDomainMask, YES);
NSString *path = [NSString stringWithFormat:@"%@/%@",
                  [paths objectAtIndex:0], 1.jpg];
[imgData writeToFile:path atomically:YES];
</code></pre>

<p>When iam Retrieving the image from the path and display in TableView it work for 1 or 2 times
then application crash and error occurs is "memory urgent" 
also used code for retrieving image in UIIMageView like [UIImage imageWithContentsOfFile:path]
but not working help.
so How to handle the image caching?</p>
