Memory leak occurs when useless objects cannot be released for a long time during program execution. Memory leaked objects may cause memory overflow, system performance degradation and even cause the system to crash when they become serious. This paper presents a dynamic approach for detecting and measuring memory leaked objects in Java programs. First, our approach tracks the program by JDI and records heap information to find out the potentially leaked objects. Second, we present memory leaking confidence to measure the influence of these objects on the program. Finally, we select three open-source programs to evaluate the efficiency of our approach. Furthermore, we choose ten programs from DaCapo 9.12 benchmark suite to reveal the time overhead of our approach. The experimental results show that our approach is able to detect and measure memory leaked objects efficiently.
Qiao YU
China University of Mining and Technology
Shujuan JIANG
China University of Mining and Technology
Yingqi LIU
China University of Mining and Technology
The copyright of the original papers published on this site belongs to IEICE. Unauthorized use of the original or translated papers is prohibited. See IEICE Provisions on Copyright for details.
Copy
Qiao YU, Shujuan JIANG, Yingqi LIU, "A Detection and Measurement Approach for Memory Leaked Objects in Java Programs" in IEICE TRANSACTIONS on Information,
vol. E98-D, no. 5, pp. 1053-1061, May 2015, doi: 10.1587/transinf.2014EDP7320.
Abstract: Memory leak occurs when useless objects cannot be released for a long time during program execution. Memory leaked objects may cause memory overflow, system performance degradation and even cause the system to crash when they become serious. This paper presents a dynamic approach for detecting and measuring memory leaked objects in Java programs. First, our approach tracks the program by JDI and records heap information to find out the potentially leaked objects. Second, we present memory leaking confidence to measure the influence of these objects on the program. Finally, we select three open-source programs to evaluate the efficiency of our approach. Furthermore, we choose ten programs from DaCapo 9.12 benchmark suite to reveal the time overhead of our approach. The experimental results show that our approach is able to detect and measure memory leaked objects efficiently.
URL: https://global.ieice.org/en_transactions/information/10.1587/transinf.2014EDP7320/_p
Copy
@ARTICLE{e98-d_5_1053,
author={Qiao YU, Shujuan JIANG, Yingqi LIU, },
journal={IEICE TRANSACTIONS on Information},
title={A Detection and Measurement Approach for Memory Leaked Objects in Java Programs},
year={2015},
volume={E98-D},
number={5},
pages={1053-1061},
abstract={Memory leak occurs when useless objects cannot be released for a long time during program execution. Memory leaked objects may cause memory overflow, system performance degradation and even cause the system to crash when they become serious. This paper presents a dynamic approach for detecting and measuring memory leaked objects in Java programs. First, our approach tracks the program by JDI and records heap information to find out the potentially leaked objects. Second, we present memory leaking confidence to measure the influence of these objects on the program. Finally, we select three open-source programs to evaluate the efficiency of our approach. Furthermore, we choose ten programs from DaCapo 9.12 benchmark suite to reveal the time overhead of our approach. The experimental results show that our approach is able to detect and measure memory leaked objects efficiently.},
keywords={},
doi={10.1587/transinf.2014EDP7320},
ISSN={1745-1361},
month={May},}
Copy
TY - JOUR
TI - A Detection and Measurement Approach for Memory Leaked Objects in Java Programs
T2 - IEICE TRANSACTIONS on Information
SP - 1053
EP - 1061
AU - Qiao YU
AU - Shujuan JIANG
AU - Yingqi LIU
PY - 2015
DO - 10.1587/transinf.2014EDP7320
JO - IEICE TRANSACTIONS on Information
SN - 1745-1361
VL - E98-D
IS - 5
JA - IEICE TRANSACTIONS on Information
Y1 - May 2015
AB - Memory leak occurs when useless objects cannot be released for a long time during program execution. Memory leaked objects may cause memory overflow, system performance degradation and even cause the system to crash when they become serious. This paper presents a dynamic approach for detecting and measuring memory leaked objects in Java programs. First, our approach tracks the program by JDI and records heap information to find out the potentially leaked objects. Second, we present memory leaking confidence to measure the influence of these objects on the program. Finally, we select three open-source programs to evaluate the efficiency of our approach. Furthermore, we choose ten programs from DaCapo 9.12 benchmark suite to reveal the time overhead of our approach. The experimental results show that our approach is able to detect and measure memory leaked objects efficiently.
ER -