Detecting memory leak via VMM
Document Type
Article
Publication Date
3-1-2010
Abstract
In this paper, virtualization technology is utilized to transparently record the allocation and release of memory resources applied by applications running on virtual machine (VM), and these records provide the auxiliary information to detect memory leaks hiding in the binary code. Firstly, this mechanism does not require source code modification or recompilation; secondly, the performance overhead is very small, which makes it possible to build online memory leak detection and reporting mechanisms, free application developers from designing test suite and improve the chances of finding more memory leaks. Besides, memory leak detection based on the virtual environment also provides versatility without needing special hardware supports: not only user-mode application can be detected, but the operating system kernel; and both Linux and Windows are supported. Existing research cannot bring all of these features together. The experimental results show that the memory leak detection mechanism has a limited performance overhead which is less than 10%, and the information produced by the mechanism can help programmer to track out the possible memory leaks efficiently.
Publication Title
Jisuanji Xuebao/Chinese Journal of Computers
Recommended Citation
Wang, X.,
Wang, Z.,
Sun, Y.,
Liu, Y.,
Zhang, B.,
&
Luo, Y.
(2010).
Detecting memory leak via VMM.
Jisuanji Xuebao/Chinese Journal of Computers,
33(3), 463-472.
http://doi.org/10.3724/SP.J.1016.2010.00463
Retrieved from: https://digitalcommons.mtu.edu/michigantech-p/14129