I am developing an applciation whose run time memory goes upto 6-7MB. When I run the application it works fine but sometimes it breaks on device or shows white screen instead of actual views. When I did some testing I came to know that it was triggering the didRecieveMemoryWarning event.
Is it becoz of images, like I am using a lot of animation for which everytime I call the image animation function to get the array of the images. since I am using imageWithName, I need to call everytime. Also I am not supposed to release the memory used for the images as I dont own it. I think that this is not the right way to deal with it. Is there any good way to deal with this. do anyone have better idea or this is not the problem.
Please note that the code dont break on simulator wheras there is no breaking inbetween the code.