title: MKMapView using a lot of memory each time i load its view
body: <p>I have a pretty simple app, with a couple of view controllers. There is a MKMapView in the second view controller. It is set up correctly, and functions fine. The problem is, each time I load its view the Memory usage jumps ~30mb, and never goes back down, so each time i go into the view it keeps jumping and eventually gets super high. 
  I tried removing the map view when i leave the controller like this:</p>
  
  <pre><code>override func viewWillDisappear(animated: Bool) {
          map.removeFromSuperview()
      }
  </code></pre>
  
  <p>but it doesn't have any effect on the memory. The map views delegate is set to its view controller. </p>
  
  <p>I tried checking for leaks using Xcode instruments but didn't find anything. </p>
  
  <p>Does anyone know how to fix this? </p>
  
  <p>Thanks</p>
  
  <p>EDIT:
  Adding this seems to work:</p>
  
  <pre><code>func removeNastyMapMemory() {
          map.mapType = MKMapType.Hybrid
          map.delegate = nil
          map.removeFromSuperview()
          map = nil
      }
  
      override func viewWillDisappear(animated: Bool) {
          removeNastyMapMemory()
      }
  </code></pre>