首页 推荐 热点 专题 PHPJavaPythonAndriodIOSC#前端数据库人工智能程序开发架构安全运维资讯微课资源
0
点赞
收藏
分享

微信扫一扫

Android报错Failed to allocate a 246498744 byte allocation with 1572864 free bytes and 191MB until OOM,

君心浅语 2022-05-03 阅读 70
android

完整报错:Failed to allocate a 246498744 byte allocation with 1572864 free bytes and 191MB until OOM, max allowed footprint 2380528, growth limit 201326592

解决方法:
在Mainfest.xml中添加

android:hardwareAccelerated="false"
android:largeHeap="true"

在这里插入图片描述

举报
0 条评论
君心浅语
关注
  • 用代码示例演示如何使用async和defer属性异步加载JS文件
  • 业务性能监控(BPM)与应用性能监控(APM)的对比及选型分析
  • Ubuntu 24:如何配置用户无需输入密码使用sudo功能
  • vue3中customRef的用法以及使用场景
  • 项目搭建:guice,jdbc,maven
  • 美家快乐小程序排队免单系统技术功能分析
  • 魔乐空间创建体验再上新台阶,多种模板助您快速生成可运行的空间
  • 泷羽Sec学习笔记:Burpsuite(1)之功能介绍
  • ESLint 规则入门:如何配置重要性及选项(2)
  • C++ —— 以真我之名 如飞花般绚丽 - 智能指针