Two-phase online memory leak detection

Jui Shan Liang*, Hung Wei Kao, Han Ching Tsao, Shao Chen Chang, Meng Hsun Tsai, Kuan Hsien Li, Yingrong Coral Sung

*此作品的通信作者

研究成果: Conference contribution同行評審

3 引文 斯高帕斯(Scopus)

摘要

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.

原文English
主出版物標題14th Asia-Pacific Network Operations and Management Symposium
主出版物子標題"Management in the Big Data and IoT Era", APNOMS 2012 - Final Program
DOIs
出版狀態Published - 2012
事件14th Asia-Pacific Network Operations and Management Symposium: "Management in the Big Data and IoT Era", APNOMS 2012 - Seoul, Korea, Republic of
持續時間: 25 9月 201227 9月 2012

出版系列

名字14th Asia-Pacific Network Operations and Management Symposium: "Management in the Big Data and IoT Era", APNOMS 2012 - Final Program

Conference

Conference14th Asia-Pacific Network Operations and Management Symposium: "Management in the Big Data and IoT Era", APNOMS 2012
國家/地區Korea, Republic of
城市Seoul
期間25/09/1227/09/12

指紋

深入研究「Two-phase online memory leak detection」主題。共同形成了獨特的指紋。

引用此