If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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:

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

  • OutOfMemoryError
    via GitHub by levantaodedo
  • GitHub comment 21#112281178
    via GitHub by jpxiong
  • GitHub comment 2#112270989
    via GitHub by jpxiong
  • GitHub comment 9#90753090
    via GitHub by lgorse
  • GitHub comment 30#185086377
    via GitHub by kientux
    • java.lang.OutOfMemoryError: Failed to allocate a 16396 byte allocation with 14928836 free bytes and 106MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method)

    Users with the same issue

    Stefan BrauneStefan Braune
    17 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Agócs TamásAgócs Tamás
    3 times, last one,
    8 times, last one,
    8 times, last one,
    65 more bugmates