android:largeHeap attribute not working?
<p>I added the android:largeHeap="true" attribute to my android manifest, but it doesn't seem to make a difference in my application's allowed memory.  When I run the below activity on my Acer A100 (running android 3.2.1), I get the following results:</p>

<pre><code>largeAmount = 256
normalamount = 48
allowedMax = 48
outofmemoryexception allocating the 60mb byte array.


public class TempActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        ActivityManager manager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
        int largeAmount = manager.getLargeMemoryClass();
        int normalAmount = manager.getMemoryClass();

        long allowedMax = Runtime.getRuntime().maxMemory()/1024/1024;

        byte[] bigarray = new byte[62914560];
    }
}

&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.temp"
    android:largeHeap="true"
    android:versionCode="1"
    android:versionName="1.0" &gt;
    &lt;uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"/&gt;
    &lt;application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" &gt;
        &lt;activity
            android:name=".TempActivity"
            android:label="@string/app_name" &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="android.intent.action.MAIN" /&gt;
                &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
    &lt;/application&gt;
&lt;/manifest&gt;
</code></pre>
