I am using a lot of NSDictionaries
and NSArrays
,so currently am allocating everything at viewDidload
and making everything nil in ViewDidDisappear
.
-(void)viewDidDisappear:(BOOL)animated
{
loginDictionary=nil;
}
Now my memory will get down right?
As long as you don't have any other references to the object pointed to by
loginDictionary
, the memory should go down a bit. You can use Instruments to check that.