In My application i am downlading image from url and showing it in uiimageview of uitableview cell.
Here I am getting problem is i am using Lazyloading
but in mobile it is crashing because cache memory is full.So i am not getting any solution to resolve this.
If i am downloading in asynchronous way it is downloading for each cell in UItableView whenever i am scrolling the tableview,so it is taking very long time to download that,becuase the image i am getting from server is very big and resolution is very high so it is taking more time.
please help me any one i am trying but i am not getting any solution.I am very new to iphone development.Please some one give any suggestion.i used SdWebImage in lazyloading also so i am not getting any solution to my problem.
Thanks&Regards Sravya
You have to resize your images before caching them / displaying them on the image view. Regardless of which image format you are using, when the image is displayed in the view it is converted to a bitmap and the larger the image, the larger the memory footprint. Check the code here for some UIImage resizing categories which should help you achieve just that.