java.lang.OutOfMemoryError: Failed to allocate a 409534333 byte allocation with 9927994 free bytes and 177MB until OOM

Stack Overflow | okunato | 1 month 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

    java.lang.OutOfMemoryError in sample

    GitHub | 8 months ago | dvdobrovolskiy
    java.lang.OutOfMemoryError: Failed to allocate a 344766614 byte allocation with 11726298 free bytes and 239MB until OOM
  2. 0

    A clear explanation of how to increase memory in Android?

    Stack Overflow | 1 month ago | okunato
    java.lang.OutOfMemoryError: Failed to allocate a 409534333 byte allocation with 9927994 free bytes and 177MB until OOM
  3. 0

    json file does not find in my app

    Stack Overflow | 2 months ago | Amin Shabanzadeh
    java.io.IOException: write failed: ENOSPC (No space left on device)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App won't start on Android < 5.0 OS after updating Android SDK

    Stack Overflow | 1 year ago | rosu alin
    java.lang.RuntimeException: Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: java.lang.ClassNotFoundException: nl.hgrams.passenger.PSLocationCenter
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 409534333 byte allocation with 9927994 free bytes and 177MB until OOM

    at com.android.tools.fd.runtime.FileManager.readRawBytes()
  2. com.android.tools
    BootstrapApplication.attachBaseContext
    1. com.android.tools.fd.runtime.FileManager.readRawBytes(FileManager.java:831)
    2. com.android.tools.fd.runtime.FileManager.checkInbox(FileManager.java:249)
    3. com.android.tools.fd.runtime.BootstrapApplication.createResources(BootstrapApplication.java:126)
    4. com.android.tools.fd.runtime.BootstrapApplication.attachBaseContext(BootstrapApplication.java:235)
    4 frames
  3. Android Platform
    ActivityThread.main
    1. android.app.Application.attach(Application.java:187)
    2. android.app.Instrumentation.newApplication(Instrumentation.java:1020)
    3. android.app.Instrumentation.newApplication(Instrumentation.java:1004)
    4. android.app.LoadedApk.makeApplication(LoadedApk.java:573)
    5. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4749)
    6. android.app.ActivityThread.access$1600(ActivityThread.java:163)
    7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
    8. android.os.Handler.dispatchMessage(Handler.java:102)
    9. android.os.Looper.loop(Looper.java:148)
    10. android.app.ActivityThread.main(ActivityThread.java:5491)
    10 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    2 frames