内存不足错误android [英] Out of Memoryerror android

查看:79
本文介绍了内存不足错误android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

E/art:抛出OutOfMemoryError未能分配42469452字节的分配,其中包含16777216个空闲字节和31MB直到OOM"

E/art: Throwing OutOfMemoryError "Failed to allocate a 42469452 byte allocation with 16777216 free bytes and 31MB until OOM"

我遇到了这个问题,但是对于outofmemoryError的说法我没有明白.所以任何人都可以帮助解决这个问题.

I got this issue but for what its saying outofmemoryError I'm not getting.So any one can help out to solve this issue.

请不要拒绝投票的问题,因为我不知道问题的根源.

推荐答案

使用此链接来减小图像大小....

Reduce image size use this links....

对于PNG

CompressPng

TinyPng

对于JPG

CompressJpeg

TinyJpg

注意:-如果可能,请使图像大小小于50 kb ......

享受编码.........

enjoy coding.........

这篇关于内存不足错误android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆