java.lang.OutOfMemoryError: Failed to allocate a 20 byte allocation with 3936 free bytes and 3KB until OOM

GitHub | ChanSek | 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

    GitHub comment 600#246110650

    GitHub | 8 months ago | ChanSek
    java.lang.OutOfMemoryError: Failed to allocate a 20 byte allocation with 3936 free bytes and 3KB until OOM
  2. 0

    GitHub comment 508#215371360

    GitHub | 1 year ago | krystianpe
    java.lang.OutOfMemoryError: Failed to allocate a 701800 byte allocation with 654832 free bytes and 639KB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 508#218968634

    GitHub | 12 months ago | kellysnow
    java.lang.OutOfMemoryError: Failed to allocate a 701800 byte allocation with 307478 free bytes and 300KB until OOM
  5. 0

    GitHub comment 505#219418687

    GitHub | 11 months ago | unsign3d
    java.lang.OutOfMemoryError: Failed to allocate a 1403592 byte allocation with 734690 free bytes and 717KB until OOM

    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 20 byte allocation with 3936 free bytes and 3KB until OOM

      at com.squareup.haha.perflib.Instance.<init>()
    2. com.squareup.haha
      HprofParser.parse
      1. com.squareup.haha.perflib.Instance.<init>(Instance.java:66)
      2. com.squareup.haha.perflib.ClassInstance.<init>(ClassInstance.java:31)
      3. com.squareup.haha.perflib.HprofParser.loadInstanceDump(HprofParser.java:561)
      4. com.squareup.haha.perflib.HprofParser.loadHeapDump(HprofParser.java:351)
      5. com.squareup.haha.perflib.HprofParser.parse(HprofParser.java:186)
      5 frames
    3. com.squareup.leakcanary
      HeapAnalyzerService.onHandleIntent
      1. com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:81)
      2. com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:58)
      2 frames
    4. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:148)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames