Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try adding these lines to your manifest: android:hardwareAccelerated="false" and android:largeHeap="true" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

  2. ,
    Expert tip

    This was issue #159 in Fresco, and was fixed recently, in v1.3.0.

Solutions on the web

via Stack Overflow by GetRealRenz
, 1 year ago
Failed to allocate a 1464012 byte allocation with 286292 free bytes and 279KB until OOM
via GitHub by igorcoding
, 2 years ago
Failed to allocate a 3683532 byte allocation with 2373316 free bytes and 2MB until OOM
via GitHub by noear
, 1 year ago
Failed to allocate a 4760012 byte allocation with 497532 free bytes and 485KB until OOM
via GitHub by mateuszroszczyk
, 8 months ago
Failed to allocate a 2514252 byte allocation with 761008 free bytes and 743KB until OOM
via Stack Overflow by Maksim Dmitriev
, 9 months ago
Failed to allocate a 233280012 byte allocation with 10567360 free bytes and 176MB until OOM
via GitHub by Svajoklis-
, 1 year ago
Failed to allocate a 203079692 byte allocation with 4194304 free bytes and 53MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 1464012 byte allocation with 286292 free bytes and 279KB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)	at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:634)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:610)	at com.nostra13.universalimageloader.core.decode.BaseImageDecoder.decode(BaseImageDecoder.java:83)	at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.decodeImage(LoadAndDisplayImageTask.java:265)	at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.tryLoadBitmap(LoadAndDisplayImageTask.java:223)	at com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.run(LoadAndDisplayImageTask.java:136)	at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:297)	at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)	at com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:528)	at com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:489)	at com.nostra13.universalimageloader.core.ImageLoader.loadImageSync(ImageLoader.java:602)	at com.nostra13.universalimageloader.core.ImageLoader.loadImageSync(ImageLoader.java:543)	at com.example.navbartest.Parsers.InitNews.getImage(InitNews.java:58)	at com.example.navbartest.Parsers.InitNews.(InitNews.java:33)	at com.example.navbartest.Parsers.InitNews.onLoadMore(InitNews.java:101)	at com.example.navbartest.Fragments.MoneyFragment$onLoadMore.doInBackground(MoneyFragment.java:76)	at com.example.navbartest.Fragments.MoneyFragment$onLoadMore.doInBackground(MoneyFragment.java:72)