java.lang.OutOfMemoryError: Failed to allocate a 4194316 byte allocation with 3271760 free bytes and 3MB until OOM

Stack Overflow | Whiz | 8 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

    OutOfMemoryError that I don't know when or why happened

    Stack Overflow | 8 months ago | Whiz
    java.lang.OutOfMemoryError: Failed to allocate a 4194316 byte allocation with 3271760 free bytes and 3MB until OOM
  2. 0
    samebug tip
    When creating multiple activities you first need to finish one, then create a new Intent to launch another activity.
  3. 0

    android intent acts diffrent according to time

    Stack Overflow | 2 years ago | learning
    java.lang.OutOfMemoryError: Failed to allocate a 99012 byte allocation > with 67972 free bytes and 66KB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1386#173464728

    GitHub | 1 year ago | jaredsburrows
    java.lang.OutOfMemoryError: Failed to allocate a 4842156 byte allocation with 2271684 free bytes and 2MB until OOM
  6. 0

    OutOfMemoryError

    GitHub | 3 years ago | chathudan
    java.lang.OutOfMemoryError

  1. Ajeet 15 times, last 7 months ago
  2. aakash 1 times, last 8 months ago
  3. Agócs Tamás 28 times, last 9 months ago
  4. Ranjana Dangol 7 times, last 8 months ago
  5. bayukresno 7 times, last 10 months ago
1 more registered users
9 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 4194316 byte allocation with 3271760 free bytes and 3MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Bitmap.createBitmap
    1. dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
    2. android.graphics.Bitmap.nativeCreate(Bitmap.java)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:831)
    4. android.graphics.Bitmap.createBitmap(Bitmap.java:808)
    5. android.graphics.Bitmap.createBitmap(Bitmap.java:775)
    5 frames
  3. maps.aa
    i.b
    1. maps.aa.g.a(Unknown Source)
    2. maps.aa.i.a(Unknown Source)
    3. maps.aa.i.a(Unknown Source)
    4. maps.aa.i.b(Unknown Source)
    4 frames
  4. maps.ac
    t.a
    1. maps.ac.o.a(Unknown Source)
    2. maps.ac.t.a(Unknown Source)
    2 frames
  5. maps.X
    y$f.run
    1. maps.X.K.a(Unknown Source)
    2. maps.X.H.a(Unknown Source)
    3. maps.X.H.b(Unknown Source)
    4. maps.X.y$f.f(Unknown Source)
    5. maps.X.y$f.run(Unknown Source)
    5 frames