title: How to release the retained objects or memory of app while logging out in IOS
body: <p>I wanted to know that how we gonna release all the memory retained by the view controller in app while logging out.</p>
  
  <p>I checked my app using instrument that the allocations were not released while logging out though i am on my logging screen.</p>
  
  <p>as after using the app for a while the allocation shown by instruments goes to 10Mb but after logging out I am on login screen but the allocation are still the same i.e. 10MB.</p>
  
  <p>I dont know how to modify that logout function so that i can clear the data retained by the other views..</p>