title: Memory Usage Difference b/w Debug and Release Configuration
body: <p>I'm using the <code>taskInfo</code> to get the amount of memory my app is using programmatically. The code for that is basically</p>
  
  <blockquote>
  <pre><code>    kern_return_t result = task_info(mach_task_self(), TASK_BASIC_INFO, (task_info_t)&amp;info, &amp;num);
      if (result == KERN_SUCCESS ) {
          memoryUsed = (double)(info.resident_size/1000000.0);
  </code></pre>
  </blockquote>
  
  <p>When I run my app on <code>Debug</code> configuration it reports far more memory being used as compared to when I run it on <code>Distribution</code> (~100MB of difference). Since there are some other third party libraries being linked I'm not sure if they are doing some weird stuff. </p>
  
  <p>My question is assuming that my app is not doing anything weird is it normal to have such a huge difference? </p>
  
  <p>P.S. : I'm also using <code>cocos2d</code> but I think that's pretty safe. </p>