直接上图吧! 获取文件大小 ,清理文件工具类 public class DataCleanManager { public static String getTotalCacheSize(Context context) throws Exception { long cacheSize = getFolderSize(context.getCacheDir()); if (Environment.getExternalStorageState().equals(Environment.MEDI…
Managing Your App's Memory In this document How Android Manages Memory Sharing Memory Allocating and Reclaiming App Memory Restricting App Memory Switching Apps How Your App Should Manage Memory 「高效内存的16条策略」 Use services sparingly Release memory when…
1. Linux中proc目录下文件详解 http://wenku.baidu.com/view/2ce89f00a6c30c2259019ef1.html 2. Android系统/proc目录详解 3. android proc 进程信息解析 http://wenku.baidu.com/view/6530ad58312b3169a451a4eb.html?re=view 4. How to get memory usage at run time in c++? 5. 使用getrusag…