文件名称:damd_os_memory
介绍说明--下载内容均来自于网络,请自行研究使用
提供内存管理:防止内存泄露,通过damd_porting_memory_poor_status()
观察内存使用,查看有没有重复申请的情况
查找内存泄漏的问题
1)长时间运行后出现内存泄漏;
2)为跟踪这个问题做了一个内存监控管理机制,采用分配登记,释放注销的原则,统一封装malloc和
free
3)目的是清楚系统各个模块和各个负责人分配的内存情况;
调用例子-Provide memory management: Prevent memory leaks by damd_porting_memory_poor_status () observe memory usage, view the situation there is no duplication of applications to find memory leak 1) memory leak occurs after a long run 2) to track the issue is a memory monitor management mechanism, distribution of registration with the release of the principle of cancellation, unified package malloc and free 3) aims to clear the system of each module and the memory of each person in charge of distribution of cases call example
观察内存使用,查看有没有重复申请的情况
查找内存泄漏的问题
1)长时间运行后出现内存泄漏;
2)为跟踪这个问题做了一个内存监控管理机制,采用分配登记,释放注销的原则,统一封装malloc和
free
3)目的是清楚系统各个模块和各个负责人分配的内存情况;
调用例子-Provide memory management: Prevent memory leaks by damd_porting_memory_poor_status () observe memory usage, view the situation there is no duplication of applications to find memory leak 1) memory leak occurs after a long run 2) to track the issue is a memory monitor management mechanism, distribution of registration with the release of the principle of cancellation, unified package malloc and free 3) aims to clear the system of each module and the memory of each person in charge of distribution of cases call example
(系统自动生成,下载前可以参看下载内容)
下载文件列表
damd_os_memory.c