java.lang.OutOfMemoryError

Failed to allocate a 416160012 byte allocation with 11861984 free bytes and 239MB until OOM


Solutions on the web2820

Solution icon of stackoverflow
via Stack Overflow by Jason
, 7 months ago
Failed to allocate a 416160012 byte allocation with 11861984 free bytes and 239MB until OOM

Solution icon of github
Failed to allocate a 440786855 byte allocation with 11418026 free bytes and 239MB until OOM

Solution icon of github
Failed to allocate a 344766614 byte allocation with 11726298 free bytes and 239MB until OOM

Solution icon of github
Failed to allocate a 440786855 byte allocation with 11418026 free bytes and 239MB until OOM

Solution icon of coderanch
via Coderanch by Dirk Lucas, 7 months ago
Failed to allocate a 13063692 byte allocation with 4194304 free bytes and 10MB until OOM

Solution icon of github
via GitHub by Nexolight
, 6 months ago
Failed to allocate a 1369452 byte allocation with 840912 free bytes and 821KB until OOM

Solution icon of github
via GitHub by sorcer1122
, 7 months ago
Failed to allocate a 16396 byte allocation with 3684 free bytes and 3KB until OOM

Solution icon of github
via GitHub by kientux
, 1 year ago
Failed to allocate a 626707 byte allocation with 216077 free bytes and 211KB until OOM

Solution icon of github
via GitHub by neuspadrin
, 6 months ago
Failed to allocate a 241932 byte allocation with 189424 free bytes and 184KB until OOM

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

Stack trace

  • java.lang.OutOfMemoryError: Failed to allocate a 416160012 byte allocation with 11861984 free bytes and 239MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:620) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:455) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1152) at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:855) at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:706) at android.content.res.Resources.getDrawable(Resources.java:776) at android.support.v7.widget.ResourcesWrapper.getDrawable(ResourcesWrapper.java:133) at android.content.Context.getDrawable(Context.java:525) at android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26) at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:202) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192) at android.support.v7.widget.AppCompatImageHelper.loadFromAttributes(AppCompatImageHelper.java:49) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:65) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:53) at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106) at android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:980) at android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1039) at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727) at android.view.LayoutInflater.rInflate(LayoutInflater.java:858) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821) at android.view.LayoutInflater.inflate(LayoutInflater.java:518) at android.view.LayoutInflater.inflate(LayoutInflater.java:426) at android.view.LayoutInflater.inflate(LayoutInflater.java:377) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at com.sp.ez_mart.Store_Layout.onCreate(Store_Layout.java:15) at android.app.Activity.performCreate(Activity.java:6754)

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

73 times, 9 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
69 more bugmates