{"title":"Memory leak detection runtime-service for embedded Linux devices","authors":"R. Beneder, Bernd Glatz, M. Horauer, T. Rauscher","doi":"10.1109/ETFA.2014.7005223","DOIUrl":null,"url":null,"abstract":"In practice, software is often deployed with several hidden bugs despite various test processes and static analyses. Such bugs often cause a phenomenon called software aging that refers to the accumulation of errors occurring in long running software systems that results in a decrease of performance and an increases of the probability to crash the entire system. This paper presents a mechanism to detect memory leaks in embedded systems software at runtime that can be used to counter software aging. In particular, it presents and compares two measurement based algorithms to identify memory leaks on Embedded Linux devices at runtime. Both algorithms have been implemented and evaluated using an industrial room controller targeting building automation. Based on this approach we were able to identify an existing memory leak we were unaware of beforehand.","PeriodicalId":20477,"journal":{"name":"Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2014-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ETFA.2014.7005223","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
In practice, software is often deployed with several hidden bugs despite various test processes and static analyses. Such bugs often cause a phenomenon called software aging that refers to the accumulation of errors occurring in long running software systems that results in a decrease of performance and an increases of the probability to crash the entire system. This paper presents a mechanism to detect memory leaks in embedded systems software at runtime that can be used to counter software aging. In particular, it presents and compares two measurement based algorithms to identify memory leaks on Embedded Linux devices at runtime. Both algorithms have been implemented and evaluated using an industrial room controller targeting building automation. Based on this approach we were able to identify an existing memory leak we were unaware of beforehand.