内存泄漏故障是一个程序员所必须关心的问题之一。通过对内存泄漏及其相关检测技术的研究,提出面向类型的动态内存泄漏检测的概念,使泄漏检测具有较高的实时性,大大降低由于内存泄漏检测而导致CPU占用时间的急剧变化值,并在Linux下验证了算法的真实有效性。
Memory leak failure is one of the problems that a programmer must be concerned about. In this paper, based on the study of memory leak and the related detection, the notion of type-oriented dynamic memory leak detection is proposed, which makes the leak detection technology be highly timely, and greatly reduces the sharp change value of CPU occupancy time caused by the memory leak detection. The reality and validity of this algorithm is verified in Linux operating system.