java.lang.OutOfMemoryError: Failed to allocate a 36486736 byte allocation with 16777216 free bytes and 22MB until OOM

GitHub | samirmangroliya | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    selectTabAtPosition crashes app ?

    GitHub | 8 months ago | samirmangroliya
    java.lang.OutOfMemoryError: Failed to allocate a 36486736 byte allocation with 16777216 free bytes and 22MB until OOM
  2. 0

    Call fragment method in an activity?

    Stack Overflow | 1 year ago | Georgi Koemdzhiev
    java.lang.OutOfMemoryError: Failed to allocate a 6289456 byte allocation with 4315368 free bytes and 4MB until OOM
  3. 0

    Android Wear App java.lang.OutOfMemoryError: Failed to allocate

    Stack Overflow | 1 year ago | Laurens V
    java.lang.OutOfMemoryError: Failed to allocate a 52435096 byte allocation with 2097152 free bytes and 32MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android OutOfMemoryError: Failed to allocate a 57993496 byte allocation with 16764448 free bytes

    Stack Overflow | 1 year ago | Corey Wu
    java.lang.OutOfMemoryError: Failed to allocate a 57993496 byte allocation with 16764448 free bytes and 32MB until OOM
  6. 0

    GitHub comment 3#249464709

    GitHub | 7 months ago | dca-ps
    java.lang.OutOfMemoryError: Failed to allocate a 32855856 byte allocation with 16777216 free bytes and 29MB until OOM

    7 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 36486736 byte allocation with 16777216 free bytes and 22MB until OOM

      at java.lang.AbstractStringBuilder.enlargeBuffer()
    2. Java RT
      StringWriter.write
      1. java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
      2. java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:125)
      3. java.lang.StringBuffer.append(StringBuffer.java:278)
      4. java.io.StringWriter.write(StringWriter.java:123)
      4 frames
    3. Android Platform
      FastPrintWriter.append
      1. com.android.internal.util.FastPrintWriter.flushLocked(FastPrintWriter.java:358)
      2. com.android.internal.util.FastPrintWriter.appendLocked(FastPrintWriter.java:303)
      3. com.android.internal.util.FastPrintWriter.write(FastPrintWriter.java:625)
      4. com.android.internal.util.FastPrintWriter.append(FastPrintWriter.java:658)
      4 frames
    4. Java RT
      Throwable.printStackTrace
      1. java.io.PrintWriter.append(PrintWriter.java:691)
      2. java.io.PrintWriter.append(PrintWriter.java:687)
      3. java.io.Writer.append(Writer.java:198)
      4. java.lang.Throwable.printStackTrace(Throwable.java:324)
      5. java.lang.Throwable.printStackTrace(Throwable.java:300)
      5 frames
    5. Android Platform
      Log.getStackTraceString
      1. android.util.Log.getStackTraceString(Log.java:343)
      1 frame
    6. Android
      RuntimeInit.Clog_e
      1. com.android.internal.os.RuntimeInit.Clog_e(RuntimeInit.java:61)
      1 frame