java.lang.OutOfMemoryError

Failed to allocate a 14909452 byte allocation with 7555208 free bytes and 7MB until OOM


Samebug tips4

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

The memory is leaking. Try to analyze the HEAP or use LeakCanacy (https://github.com/square/leakcanary) to figure out where is the exact problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web2828

Solution icon of github
via GitHub by AlstonLin
, 6 months ago
Failed to allocate a 14909452 byte allocation with 7555208 free bytes and 7MB until OOM

Solution icon of googlegroups
via Google Groups by Marco Batista, 1 year ago
Failed to allocate a 8294412 byte allocation with 7896484 free bytes and 7MB until OOM

Solution icon of stackoverflow
Failed to allocate a 9606684 byte allocation with 8049319 free bytes and 7MB until OOM

Solution icon of github
via GitHub by mathroule
, 3 months ago
Failed to allocate a 8294412 byte allocation with 4194304 free bytes and 7MB until OOM

Solution icon of github
Failed to allocate a 10584012 byte allocation with 7878940 free bytes and 7MB until OOM

Solution icon of appcelerator
via Appcelerator JIRA by Andrey Tkachenko, 1 year ago
Failed to allocate a 23887884 byte allocation with 8219096 free bytes and 7MB until OOM

Solution icon of stackoverflow
Failed to allocate a 8876812 byte allocation with 7873968 free bytes and 7MB until OOM

Solution icon of github
Failed to allocate a 8294412 byte allocation with 8152436 free bytes and 7MB until OOM

Solution icon of github
Failed to allocate a 10584012 byte allocation with 8138000 free bytes and 7MB until OOM

Solution icon of github
Failed to allocate a 10584012 byte allocation with 8299128 free bytes and 7MB until OOM

Stack trace

  • java.lang.OutOfMemoryError: Failed to allocate a 14909452 byte allocation with 7555208 free bytes and 7MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)

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

17 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
8 times, 1 year ago
8 times, 6 months ago
66 more bugmates