java.lang.OutOfMemoryError: Failed to allocate a 6391674 byte allocation with 6004224 free bytes and 5MB until OOM

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Rajubhai Rathod
, 1 year ago
Failed to allocate a 6391674 byte allocation with 6004224 free bytes and 5MB until OOM
via Stack Overflow by Zoltan Kurtyak
, 2 years ago
Failed to allocate a 4283669 byte allocation with 1545568 free bytes and 1509KB until OOM
via GitHub by vagabond92
, 5 months ago
Failed to allocate a 12887681 byte allocation with 12606376 free bytes and 12MB until OOM
via Stack Overflow by jobin
, 8 months ago
Failed to allocate a 14940830 byte allocation with 13265700 free bytes and 12MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 6391674 byte allocation with 6004224 free bytes and 5MB until OOM
at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:122)
at com.karopass.status2017.material.ImageLoader.addToDiskCache(ImageLoader.java:238)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.