java.lang.OutOfMemoryError: Failed to allocate a 4021252 byte allocation with 1182372 free bytes and 1154KB until OOM

mozilla.com | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
    via GitHub by tiftof
  2. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
    via GitHub by tiftof
  3. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
    via GitHub by tiftof
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
    via GitHub by tiftof
  6. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
    via GitHub by tiftof

  1. filpgame 5 times, last 5 months ago
  2. poroszd 1 times, last 6 months ago
  3. sriharshakiran 1 times, last 1 year ago
  4. thilo 33 times, last 1 year ago
  5. dmitry 3 times, last 1 year ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 4021252 byte allocation with 1182372 free bytes and 1154KB until OOM

    at java.util.ArrayList.add()
  2. Java RT
    ArrayList.add
    1. java.util.ArrayList.add(ArrayList.java)
    1 frame