DocumentCode :
576951
Title :
Two-phase online memory leak detection
Author :
Liang, Jui-Shan ; Kao, Hung-Wei ; Tsao, Han-Ching ; Chang, Shao-Chen ; Tsai, Meng-Hsun ; Li, Kuan-Hsien ; Sung, Yingrong Coral
Author_Institution :
Dept. of Comput. Sci., Nat. Chiao Tung Univ., Hsinchu, Taiwan
fYear :
2012
fDate :
25-27 Sept. 2012
Firstpage :
1
Lastpage :
4
Abstract :
Memory leaks generated by a running program may exhaust memory resources and degrade system performance. It is hard to reproduce these kinds of leaks, let alone to identify and fix them early in the development phase. Thus online memory leak detection is required. In this paper we propose a two-phase approach to the online memory leak detection problem for Java programs. In phase one (offline analysis), the user executes the investigated program for a while and analyzes its heap with the proposed agent. The agent then summarizes the total occupied bytes of data structures in the heap offline, and the user is then able to select classes whose object instances seem to be potential leaks by examining the total occupied bytes summary. In phase two (online monitoring), to reduce the space and time overhead at runtime, the agent monitors online the objects of selected classes instead of monitoring all objects in the heap. The approach reports the last accessed time and location (including the source file name and the line number) of each leak candidate, with which the user can identify and fix leaks in the program.
Keywords :
Java; operating systems (computers); Java programs; bytes summary; data structures; memory resource; object instances; object-oriented programming; online monitoring; operating system; two phase online memory leak detection; Java; Leak detection; Monitoring; Navigation; Software; System performance; Telecommunications;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Network Operations and Management Symposium (APNOMS), 2012 14th Asia-Pacific
Conference_Location :
Seoul
Print_ISBN :
978-1-4673-4494-4
Electronic_ISBN :
978-1-4673-4495-1
Type :
conf
DOI :
10.1109/APNOMS.2012.6356092
Filename :
6356092
Link To Document :
بازگشت