java.lang.OutOfMemoryError: Failed to allocate a 48 byte allocation with 8388608 free bytes and 309MB until OOM; failed due to fragmentation (required continguous free 4096 bytes for a new buffer where largest contiguous free 0 bytes)

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

    OutOfMemoryError while processing leak

    GitHub | 8 months ago | allo86
    java.lang.OutOfMemoryError: Failed to allocate a 48 byte allocation with 8388608 free bytes and 309MB until OOM; failed due to fragmentation (required continguous free 4096 bytes for a new buffer where largest contiguous free 0 bytes)
  2. 0

    GitHub comment 401#173597219

    GitHub | 1 year ago | liulei9385
    java.lang.OutOfMemoryError: Failed to allocate a 2807208 byte allocation with 1632840 free bytes and 1594KB until OOM
  3. 0

    Leak analysis failed - OOM 1.4-beta1

    GitHub | 1 year ago | iverc
    java.lang.OutOfMemoryError: Failed to allocate a 5614568 byte allocation with 4904032 free bytes and 4MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Leak analysis failed with LeakCanary: 1.4-beta2

    GitHub | 1 year ago | scdqs
    java.lang.OutOfMemoryError: Failed to allocate a 5614568 byte allocation with 1353946 free bytes and 1322KB until OOM
  6. 0

    GitHub comment 528#220507575

    GitHub | 11 months ago | blast526
    java.lang.OutOfMemoryError: Failed to allocate a 2807208 byte allocation with 2251570 free bytes and 2MB 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 48 byte allocation with 8388608 free bytes and 309MB until OOM; failed due to fragmentation (required continguous free 4096 bytes for a new buffer where largest contiguous free 0 bytes)

    at com.squareup.haha.perflib.Instance.resetRetainedSize()
  2. com.squareup.haha
    Snapshot.computeDominators
    1. com.squareup.haha.perflib.Instance.resetRetainedSize(Instance.java:155)
    2. com.squareup.haha.perflib.analysis.Dominators.computeRetainedSizes(Dominators.java:111)
    3. com.squareup.haha.perflib.Snapshot.computeDominators(Snapshot.java:313)
    3 frames
  3. com.squareup.leakcanary
    HeapAnalyzerService.onHandleIntent
    1. com.squareup.leakcanary.HeapAnalyzer.findLeakTrace(HeapAnalyzer.java:124)
    2. com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:87)
    3. com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:58)
    3 frames
  4. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:145)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames