Based on the analysis of memory leak, the method overloads the allocation function and overrides the free function to store the allocation spot and trace the dynamic memory allocation.
方法在分析内存泄漏的基础上,通过重新实现动态内存分配和释放函数,记录内存分配的确切位置并跟踪动态内存的使用情况。
On the basis of concept of memory management model and memory leak, a technology to detect dynamic memory leak was designed and implemented, including dynamic memory trace and off-line analysis.
在介绍动态内存管理模型和内存泄漏的基础上,提出动态内存泄漏的检测方法,包括动态内存跟踪和离线日志分析,最后详细论述了泄漏内存的回收技术。
On the basis of concept of memory management model and memory leak, a technology to detect dynamic memory leak was designed and implemented, including dynamic memory trace and off-line analysis.
在介绍动态内存管理模型和内存泄漏的基础上,提出动态内存泄漏的检测方法,包括动态内存跟踪和离线日志分析,最后详细论述了泄漏内存的回收技术。
应用推荐