android vm total memory to max memory
<p>I need big amount of memory and I try test it:</p>

<pre><code>    long max = Runtime.getRuntime().maxMemory();
    long available = Runtime.getRuntime().totalMemory();
    long free = Runtime.getRuntime().freeMemory();

    AssetManager manager = getApplicationContext().getAssets();
    ArrayList&lt;Bitmap&gt; list = new ArrayList&lt;Bitmap&gt;();
    for (int i = 0; i &lt; 34; i++) {
        try {
            Bitmap btm = BitmapFactory.decodeStream(manager.open("image.png"));
            list.add(btm);
        } catch (IOException e) {
            e.printStackTrace();
        }
        Log.d("Total ", Runtime.getRuntime().totalMemory() / 1024f / 1024f + "");
        Log.d("Free ", Runtime.getRuntime().freeMemory() / 1024f / 1024f + "");
    }

            //dont let vm to clear bitmaps
    for (Bitmap object : list) {
        object.setDensity(Bitmap.DENSITY_NONE);
    }

    Log.d("Total ", Runtime.getRuntime().totalMemory() / 1024f / 1024f + "");
    Log.d("Free ", Runtime.getRuntime().freeMemory() / 1024f / 1024f + "");
</code></pre>

<p>I tested this and it throw OutOfMemory (vm not let to allocate more than 5 mb for this application) </p>

<p>on the device (for example Kindle Fire) max = 64 mb , total = 5mb free 2.3 mb  and if I use more then 5 mb (total memory) vm force close.
Is it possible to increase vm heap size to MaxMemory  (64)? </p>
