{"title":"软件资源泄漏检测与预测的统计方法","authors":"Jinghui Li, Xuewen Gong, Jianqing Yuan","doi":"10.1109/ISSREW.2013.6688880","DOIUrl":null,"url":null,"abstract":"Summary form only given. Resource leaks are a common type of software fault. Accruing with time, resource leaks can lead to performance degradation and/or service failures. However, there are few effective general methods and tools to detect and especially predict resource leaks. We propose a lightweight statistical approach to tackling this problem. Without complex resource management and modification to the original application code, the proposed approach simply monitors the target's resource usage periodically, and exploits some statistical analysis methods to extract the useful information behind the usage data. The decomposition method from the field of time series analysis is adopted to identify the different components (trend, seasonal, and random) of resource usage. The Mann-Kendall test method is then applied to the decomposed trend component to identify whether a significant consistent upward trend exists (and thus a leak). Furthermore, we establish a prediction procedure based on the decomposition. The basic idea is to estimate the three different components separately (using such statistical methods as curve fitting and confidence limit), and then add them together to predict the total usage. Several experimental studies that take memory as an example resource demonstrate that our proposed approach is effective to detect leaks and predict relevant leak index of interest (e.g., time to exhaustion, time to crossing some dangerous threshold), and has a very low runtime overhead.","PeriodicalId":332420,"journal":{"name":"2013 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"A statistical approach for software resource leak detection and prediction\",\"authors\":\"Jinghui Li, Xuewen Gong, Jianqing Yuan\",\"doi\":\"10.1109/ISSREW.2013.6688880\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Summary form only given. Resource leaks are a common type of software fault. Accruing with time, resource leaks can lead to performance degradation and/or service failures. However, there are few effective general methods and tools to detect and especially predict resource leaks. We propose a lightweight statistical approach to tackling this problem. Without complex resource management and modification to the original application code, the proposed approach simply monitors the target's resource usage periodically, and exploits some statistical analysis methods to extract the useful information behind the usage data. The decomposition method from the field of time series analysis is adopted to identify the different components (trend, seasonal, and random) of resource usage. The Mann-Kendall test method is then applied to the decomposed trend component to identify whether a significant consistent upward trend exists (and thus a leak). Furthermore, we establish a prediction procedure based on the decomposition. The basic idea is to estimate the three different components separately (using such statistical methods as curve fitting and confidence limit), and then add them together to predict the total usage. Several experimental studies that take memory as an example resource demonstrate that our proposed approach is effective to detect leaks and predict relevant leak index of interest (e.g., time to exhaustion, time to crossing some dangerous threshold), and has a very low runtime overhead.\",\"PeriodicalId\":332420,\"journal\":{\"name\":\"2013 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)\",\"volume\":\"82 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-12-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISSREW.2013.6688880\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISSREW.2013.6688880","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A statistical approach for software resource leak detection and prediction
Summary form only given. Resource leaks are a common type of software fault. Accruing with time, resource leaks can lead to performance degradation and/or service failures. However, there are few effective general methods and tools to detect and especially predict resource leaks. We propose a lightweight statistical approach to tackling this problem. Without complex resource management and modification to the original application code, the proposed approach simply monitors the target's resource usage periodically, and exploits some statistical analysis methods to extract the useful information behind the usage data. The decomposition method from the field of time series analysis is adopted to identify the different components (trend, seasonal, and random) of resource usage. The Mann-Kendall test method is then applied to the decomposed trend component to identify whether a significant consistent upward trend exists (and thus a leak). Furthermore, we establish a prediction procedure based on the decomposition. The basic idea is to estimate the three different components separately (using such statistical methods as curve fitting and confidence limit), and then add them together to predict the total usage. Several experimental studies that take memory as an example resource demonstrate that our proposed approach is effective to detect leaks and predict relevant leak index of interest (e.g., time to exhaustion, time to crossing some dangerous threshold), and has a very low runtime overhead.