title: How can I get rid of resident dirty memory in Objective-C?
body: <p>I watched Apple's WWDC 2010 video on Advanced Memory Analysis with Instruments and from that, I was able to find a lot of resident dirty memory. I realize that having so much resident dirty memory is a bad thing (and probably the explanation for my app crashing so much...), but I'm not sure how to fix it. Where should I look?</p>
  
  <p>Instruments shows me a lot of potentially useful information that looks like gibberish to me, such as:</p>
  
  <pre><code>% of Res  Type                      Resident Size
  18%       VM_ALLOCATE (8192 pages)  32.00 MB
  </code></pre>
  
  <p>This is in the "Dirty" category - 32 MB of resident dirty memory is a lot on a device that only has 256 MB, right? :) There are several more large chunks like this. How do I trace this back to my code from Instruments? Or should I just forget Instruments and look for specific issues in my code?</p>