android memory consumption
<p>I have many pictures in my @drawable directory which are connected to xml layout via background property:</p>

<p>i.e
<code>&lt;ImageButton android:background="@drawable/background1" ... /&gt;</code></p>

<p>I have many activities, so, when activity is destroyed (BACK is pressed), the heap isn't freed. So, the question is: </p>

<p>Does android load everything in the memory once and make heap free only when application is destroyed? How I can prevent in this case memory consumption ? Only through image compression or dynamically loading background and images?</p>
