java.lang.OutOfMemoryError

Failed to allocate a 409534333 byte allocation with 9927994 free bytes and 177MB until OOM


Solutions on the web2825

Solution icon of stackoverflow
Failed to allocate a 409534333 byte allocation with 9927994 free bytes and 177MB until OOM

Solution icon of github
via GitHub by AEFeinstein
, 11 months ago
Failed to allocate a 6076428 byte allocation with 5932552 free bytes and 5MB until OOM

Solution icon of github
Failed to allocate a 84328 byte allocation with 20296 free bytes and 19KB until OOM

Solution icon of github
via GitHub by manijak
, 4 months ago
Failed to allocate a 2188332 byte allocation with 1938816 free bytes and 1893KB until OOM

Solution icon of github
via GitHub by Alebat
, 11 months ago
Failed to allocate a 128887990 byte allocation with 16777216 free bytes and 80MB until OOM

Solution icon of github
via GitHub by renas
, 1 year ago
Failed to allocate a 16384012 byte allocation with 15854054 free bytes and 15MB until OOM

Solution icon of github
via GitHub by MummyDing
, 1 year ago
Failed to allocate a 3032652 byte allocation with 2718848 free bytes and 2MB until OOM

Solution icon of github
via GitHub by sjjh
, 8 months ago
Failed to allocate a 1752462460 byte allocation with 4194304 free bytes and 127MB until OOM

Solution icon of github
Failed to allocate a 163852 byte allocation with 80968 free bytes and 79KB until OOM

Solution icon of github
via GitHub by 4sskick
, 1 year ago
Failed to allocate a 10890012 byte allocation with 4194304 free bytes and 10MB until OOM

Stack trace

  • 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(FileManager.java:831) at com.android.tools.fd.runtime.FileManager.checkInbox(FileManager.java:249) at com.android.tools.fd.runtime.BootstrapApplication.createResources(BootstrapApplication.java:126) at com.android.tools.fd.runtime.BootstrapApplication.attachBaseContext(BootstrapApplication.java:235) at android.app.Application.attach(Application.java:187) at android.app.Instrumentation.newApplication(Instrumentation.java:1020) at android.app.Instrumentation.newApplication(Instrumentation.java:1004) at android.app.LoadedApk.makeApplication(LoadedApk.java:573) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4749) at android.app.ActivityThread.access$1600(ActivityThread.java:163) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5491) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 8 months ago