iphone sdk 3.0 - ipad: Image loading and Memory management problem & crash of the app -


i having 60 different images coming webservice.and storing in nsmutablearray.

now when load image first time , each image consume 0.5 1.5 mb of space of ipad. have multiple images memory consumption reaches high , application gets crashed.

i showing image in image view clicking on button.

can 1 suggest me how menage such memory issue application not crashed.

thanks in advance.

i store image apps cache & read them cache when need them.

nsstring *cachesdirectorypath = [nssearchpathfordirectoriesindomains(nscachesdirectory, nsuserdomainmask, yes) objectatindex:0];     nslog(@"cachesdirectorypath: %@", cachesdirectorypath); 

or save heartache & use asihttprequest - http://allseeing-i.com/asihttprequest/

& bit more caching thrown in.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -