APP2EXT/SWAP/data区增大/内存压缩/使用说明,误区及扫盲教程!

APP2SD:即将用户的应用程序直接安装到SD卡上,而不需要在SD卡上分区建立EXT格式的分区。这种方式Android2.2之后开始支持,C8650的系统官方已经开启了此功能。强制打开方法:设置——应用程序——首选安装位置——可卸载的SD卡。APP2SD优点:开启方法方便且官方支持,无需对SD卡进行分区操作。APP2SD缺点:不支持桌面或桌面插件软件等应用安装到SD卡上,SD卡数据读取速度慢,易出现“程序无响应”现象。

-

APP2EXT:即将用户的应用程序安装到SD卡EXT分区上,需要在SD卡上分区建立EXT格式的分区。这种方式是利用linux的目录链接原理,“欺骗”系统内核将data区的app目录指向了在SD卡EXT分区建立的APP目录,在安装应用程序的时候apk文件被放置到了SD卡的EXT分区。对于系统而言仍然认为程序是安装到/data/app下的(实际上被“欺骗”了)。APP2EXT优点:数据读取速度快、程序运行稳定;支持将桌面或桌面插件安装到ext区。APP2EXT缺点:需要对SD卡进行手动EXT分区;一旦开启APP2SD就无法将程序安装到\data\app(手机存储区)。

-

SWAP:故名思议swap就是交换区。当系统运行大内存占用程序的时候,由于空闲物理内存的不够用,会导致安卓系统启动内存释放动作。这时后台的一些优先级别不高的程序会被安卓系统关闭。启用swap功能就是:将这些将要被关闭的程序的数据保存到Swap空间中,等到这些程序要运行的时候,再从Swap中恢复保存的数据到内存中。这样,系统总是在物理内存不够时,才进行Swap交换。SWAP优点:有效的提高了系统的运行速度;有效防止后台程序比如:QQ、UCWEB等被系统关闭;SWAP缺点:在SD卡上开设SWAP区对于SD卡有一定硬件损害。

通过作者:Telley 来源:【10月9日】Telley_C8650_V3.0版!附:APP2EXT/SWAP/data区增大/内存压缩/使用说明,误区及扫盲教程!

 Posted by  at 23:54  Tagged with: 
十二  11 2011
 

CM Wiki上的解释:

The dalvik-cache directory holds all of the pre-compiled .dex files created from the .apk and .jar files in your phone. These files are generated whenever the Dalvik virtual machine detects that the existing .dex files were made with an older version, typically whenever you install/upgrade CM. (This is why first boot of an upgrade takes longer than a normal boot.)

Deleting the dalvik-cache directory can fix some bugs like apps starting and crashing (not necessarily force closing). However, there is no reason to ‘clear the dalvik-cache’ like you would clear the browser cache. Once generated these files are static and only added to if you install new apps.

Cyanogen在xda的回答:

When Android starts up, the DalvikVM looks thru all of your applications (.apk files) and frameworks, and builds a tree of dependencies.  It uses this dependency tree to optimize the bytecode for every application and stores it in the Dalvik cache.  The applications are then run using the optimized bytecode.  This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time.  Any time an application (or framework library) changes, it’s reoptimized and the cache is updated.

通过dalvik cache是什么东西啊?wipe它有什么影响吗? – HTC Hero G3 论坛 – 机锋论坛gfan.com.

 Posted by  at 16:30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值