Need help in analysis a heap dump file for an android application
<p>I hooked up a phone and use DDMS to dump a heap file for my application for a memory analysis. 
And then I use eclipse's memory analysis tool to do an analysis.</p>

<p>I have a few questions and I appreciate if someone can help me.</p>

<ol>
<li>From Histogram view, why classes from org.bouncycastle uses up so much memory (a lot of entries from from that package). My application did not specifically use that library. Is there any way to minimize the memory from that library? See image 1.</li>
</ol>

<p><img src="http://i.stack.imgur.com/UKZwm.png" alt="Histogram view"></p>

<ol>
<li><p>From the list of objects view for the 'byte[]' (which uses the most memory in the Histogram view from image 1). Why the top entry is used by com.andriod.internal.R$stylable)?
I have looked at the R.java file generated by android for my android application, It only has 25 lines. Why com.andriod.internal.R$stylable uses up ~27K for my android application? See image 2.
<img src="http://i.stack.imgur.com/QwNUI.png" alt="byte[] list of objects view"></p></li>
<li><p>From the list of objects view for the 'char[]' (which uses the sec most memory in the Histogram view from image 1). Why the top entry is android.text.AutoText? I don't use that class in my code. And why the sec entry is string like 'Africa/Abidjan... ' I don't have that string at all in my application. See image 3.</p></li>
</ol>

<p><img src="http://i.stack.imgur.com/CCMc6.png" alt="char[] list of objects view"></p>
