Memory issue with ALAssetLibrary

2014-01-30 Thread Peng Gu
​When I use *ALAssetLibrary:assetForURL:resultBlock:failtureBlock *to retrieve full screen images from ​camera roll, the allocated memory never release until the app enters the background. My guess is the system keeps the cache for the images somewhere. Is there anyway to force the system to relea

Re: Memory issue with ALAssetLibrary

2014-01-31 Thread Jens Alfke
On Jan 30, 2014, at 10:04 PM, Peng Gu wrote: > ​When I use *ALAssetLibrary:assetForURL:resultBlock:failtureBlock *to > retrieve full screen images from ​camera roll, the allocated memory never > release until the app enters the background. My guess is the system keeps > the cache for the images

Re: Memory issue with ALAssetLibrary

2014-01-31 Thread Peng Gu
Thanks Jens, In my case, it uses at most 12MB memory, new images didn't cause more memory usage. It hasn't caused any problems for my app. Good to know NSCache is released by the OS : ] -- Peng On Fri, Jan 31, 2014 at 10:04 AM, Jens Alfke wrote: > > On Jan 30, 2014, at 10:04 PM, Peng Gu wro