Hello !
I am currently trying to clean my app in order to optimize it, and so, I'm using Instruments intensively. I managed to block all of my leaks, and most of the allocations that I see in Instruments are under control.
Thus, I have a problem : something like 90% of my live bites are occupied by ImageIO_malloc.

Though, I've already replace all my "ImageNamed" with "imageWithContentsOfFile", but I still have like 60 images allocations.
I would like to know if it's possible to know what this images are, from their address for example, and most of all, I would like to optimize this in order to make my app runable on Iphone3 (for now, it crashes very often because of lack of memory).
I think that I may come from the way I've organized my app : I've got several views in my xib, and a main view which is empty and always visible. When I want to display a view, I push make this :
Code:
-(void)switchToMenuView{
[currentView removeFromSuperview];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self cache:YES];
[UIView setAnimationDuration:0.35];
currentView = menuView;
[self addSubview:menuView];
[UIView commitAnimations];
}
Is that correct ? Do it releases the ressources of "currentview" ?
Thanks by advance for your help !