title: Why so many GC_FOR_ALLOC in a simple app?
body: <p>I'm getting way too many GC_FOR_ALLOC from the dalvikvm. 
  I'm getting XML from a REST service: in one activity I parse about 100 lines programatically(me) and in the other activity I use the SimpleXML to parse about 200 lines.</p>
  
  <p>In the first one I get 50 GC_FOR_ALLOC.
  In the second one I get like 300!! (I can't even post it all, the body makes 29579 characters and it's allowed only 30k) </p>
  
  <p>I've searched and almost everyone complains about gc_for_"M"alloc and not gc_for_"A"lloc.</p>
  
  <p>Is the SimpleXML the problem because the instances created?</p>
  
  <p>I'll post the logcat dump by dalvikvm, maybe the values have some information.</p>
  
  <p>Thank you very much for your help.</p>
  
  <pre><code>12-11 06:13:49.564: D/dalvikvm(6759): GC_FOR_ALLOC freed 362K, 13% free 4116K/4688K, paused 181ms, total 182ms
  12-11 06:13:50.074: D/dalvikvm(6759): GC_FOR_ALLOC freed 303K, 13% free 4134K/4708K, paused 142ms, total 142ms
  .... repeated many times .....
  12-11 06:14:06.254: D/dalvikvm(6759): GC_FOR_ALLOC freed 73K, 13% free 4159K/4768K, paused 53ms, total 53ms
  12-11 06:14:06.314: D/dalvikvm(6759): GC_FOR_ALLOC freed 103K, 13% free 4159K/4768K, paused 56ms, total 57ms
  12-11 06:14:06.374: D/dalvikvm(6759): GC_FOR_ALLOC freed 29K, 12% free 4203K/4768K, paused 54ms, total 54ms
  12-11 06:14:06.424: D/dalvikvm(6759): GC_FOR_ALLOC freed 73K, 13% fre
  </code></pre>