I am getting error in my app "Failed to allocate"

Actual Error I am getting is

Failed to allocate a 60768480 byte allocation with 4192928 free bytes and 50MB until OOM

what is this error and how to resolve?

Probably tip2



The error message tells you exact what is wrong.
You or anybody else try to load a to big image into a app.

1 Like

Check you assets files use compressed image
Otherwise your apps runs slowly and this error occurred also check the dimensions of picture

Thanks. Removed large file and now it is working.

1 Like