关于壁纸镶嵌问题 ”VM won't let us allocate“
来源:互联网 发布:三国志乱舞软件 编辑:程序博客网 时间:2024/05/29 17:44
北大众志小本(MPRC)Android2.1移植
通过ES文件浏览器打开图片,按‘menu’键设置为‘壁纸’,结果壁纸
logcat出现如下错误信息:
可以看出内存不足所导致。
因为小本的分辨率为1024x600,而且我们没有硬件加速,最终对JPEG图片使用软件解码,vm默认分配的空间只有16M,所以,我在init.rc中将其改为48M或者更大。
修改如下:
然后,在设置壁纸就正常了。
- 关于壁纸镶嵌问题 ”VM won't let us allocate“
- VM won't let us allocate 480000 bytes
- 960000-byte external allocation too large for this process VM won't let us allocate 960000 bytes jav
- 960000-byte external allocation too large for this process VM won't let us allocate 960000 bytes jav
- 960000-byte external allocation too large for this process VM won't let us allocate 960000 bytes java.lang.OutOfMemoryError: bi
- 960000-byte external allocation too large for this process VM won't let us allocate 960000 bytes java.lang.OutOfMemoryError: bit
- Nobody's Perfect-But It Won't Stop Us Trying
- Eclipse won't build/run because it's "missing VM"
- VirtualBox VM won't start after kernal upgrade
- 3、Don't let happiness run away from us
- I won't if you won't
- 从Redis fork主进程 Can’t save in background: fork: Cannot allocate memory && vm.overcommit_memory
- I won't give up, I won't break down
- When Runtime.exec() won't
- Breakpoint won't be hit
- When Runtime.exec() won't
- API WritePrinter Let us entd1
- 关于scrollview 镶嵌linearlayout布局的控件位于底部的问题 关于scrollview镶嵌RelativeLayout布局失效
- PHP实现MVC开发: 一个简单的MVC
- Android中的sp和wp指针
- 几种合并查找算法
- Varnish安装搭建配置缓存服务器
- sqlplus /nolog
- 关于壁纸镶嵌问题 ”VM won't let us allocate“
- Android智能指针 (sp & wp)
- tinyxml在wince下的用法
- select
- 海量数据处理专题(三)——Hash
- C#发送电子邮件的名称空间:System.Net.Mail
- fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'
- mysql 索引的使用 之 创建 、 删除
- 海量数据处理专题(四)——Bit-map