dumpsys meminfo 说明
2015-06-24 10:19
691 查看
PSS: PSS differs
from RSS in that it reports the proportional size of its shared libraries, i.e. if three processes all use a shared library that has 30
pages, that library will only
contribute 10 pages to
the PSS that is reported for each of the three processes. PSS is a very useful number because when the PSS for all processes in the system are
summed together, that is
a good representation for the total memory usage in the system. When a process is killed, the shared libraries that contributed to its PSS will
be proportionally distributed
to the PSS totals for the remaining processes still using that library. In this way PSS can be slightly misleading, because when a process is
killed, PSS does not accurately
represent the memory returned to the overall system.
PSS:实际使用的物理内存(比例分配共享库占用的内存)
Pss:它是把共享内存根据一定比例分摊到共享它的各个进程来计算所得到进程使用内存。
PrivateDirty:它是指非共享的,又不能换页出去(can
not be paged to disk )的内存的大小。比如Linux为了提高分配内存速度而缓冲的小对象,即使你的进程结束,该内存也不会释放掉,它只是又重新回到缓冲中而已。
SharedDirty:参照PrivateDirty我认为它应该是指共享的,又不能换页出去(can
not be paged to disk )的内存的大小。比如Linux为了提高分配内存速度而缓冲的小对象,即使所有共享它的进程结束,该内存也不会释放掉,它只是又重新回到缓冲中而已。
from RSS in that it reports the proportional size of its shared libraries, i.e. if three processes all use a shared library that has 30
pages, that library will only
contribute 10 pages to
the PSS that is reported for each of the three processes. PSS is a very useful number because when the PSS for all processes in the system are
summed together, that is
a good representation for the total memory usage in the system. When a process is killed, the shared libraries that contributed to its PSS will
be proportionally distributed
to the PSS totals for the remaining processes still using that library. In this way PSS can be slightly misleading, because when a process is
killed, PSS does not accurately
represent the memory returned to the overall system.
PSS:实际使用的物理内存(比例分配共享库占用的内存)
Pss:它是把共享内存根据一定比例分摊到共享它的各个进程来计算所得到进程使用内存。
PrivateDirty:它是指非共享的,又不能换页出去(can
not be paged to disk )的内存的大小。比如Linux为了提高分配内存速度而缓冲的小对象,即使你的进程结束,该内存也不会释放掉,它只是又重新回到缓冲中而已。
SharedDirty:参照PrivateDirty我认为它应该是指共享的,又不能换页出去(can
not be paged to disk )的内存的大小。比如Linux为了提高分配内存速度而缓冲的小对象,即使所有共享它的进程结束,该内存也不会释放掉,它只是又重新回到缓冲中而已。
相关文章推荐
- 使用C++实现JNI接口需要注意的事项
- Android IPC进程间通讯机制
- Android Manifest 用法
- [转载]Activity中ConfigChanges属性的用法
- Android之获取手机上的图片和视频缩略图thumbnails
- Android之使用Http协议实现文件上传功能
- Android学习笔记(二九):嵌入浏览器
- android string.xml文件中的整型和string型代替
- i-jetty环境搭配与编译
- android之定时器AlarmManager
- android wifi 无线调试
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- android searchView的关闭事件
- SourceProvider.getJniDirectories