Memory Leak Detection Tools: A Comparative Analysis

Dilip Kumar Gangwar, Avita Katal
{"title":"Memory Leak Detection Tools: A Comparative Analysis","authors":"Dilip Kumar Gangwar, Avita Katal","doi":"10.1109/RTEICT52294.2021.9574012","DOIUrl":null,"url":null,"abstract":"Memory leak is a situation when the memory taken up by dynamically allocated objects is not deallocated after its use. Memory leak is a serious problem in embedded systems as they are memory constrained devices. This can also be a serious problem in servers as continuous leaking of memory space results in denial of client requests in due time. The programmer has to take care while writing the code of the application for such main memory related issues. Apart from manual inspection of the code for memory leak, finding illegal memory issues can be tedious sometimes. Various tools are available in order to detect main memory related issues in the software which can ease the testing time of application. These tools are categorized as static and dynamic analysis tools. These tools help programmers to write memory safe and clean code without going into memory leak and related issues. This paper discusses different memory leakage detection tools. The paper also provides the comparison of different tools on the basis of different parameters and concludes with the evaluation of the memory detection tools on the basis of time taken. The results show that Mtrace tool takes maximum time for analysis and Electric fence tools takes minimum time for analysis.","PeriodicalId":191410,"journal":{"name":"2021 International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTEICT52294.2021.9574012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Memory leak is a situation when the memory taken up by dynamically allocated objects is not deallocated after its use. Memory leak is a serious problem in embedded systems as they are memory constrained devices. This can also be a serious problem in servers as continuous leaking of memory space results in denial of client requests in due time. The programmer has to take care while writing the code of the application for such main memory related issues. Apart from manual inspection of the code for memory leak, finding illegal memory issues can be tedious sometimes. Various tools are available in order to detect main memory related issues in the software which can ease the testing time of application. These tools are categorized as static and dynamic analysis tools. These tools help programmers to write memory safe and clean code without going into memory leak and related issues. This paper discusses different memory leakage detection tools. The paper also provides the comparison of different tools on the basis of different parameters and concludes with the evaluation of the memory detection tools on the basis of time taken. The results show that Mtrace tool takes maximum time for analysis and Electric fence tools takes minimum time for analysis.
内存泄漏检测工具:比较分析
内存泄漏是指动态分配对象占用的内存在使用后没有被释放的情况。由于嵌入式系统是内存受限的设备,因此内存泄漏是嵌入式系统中的一个严重问题。这在服务器中也可能是一个严重的问题,因为持续的内存空间泄漏会导致在适当的时候拒绝客户端请求。程序员在编写应用程序代码时必须注意与主存相关的问题。除了手动检查代码是否存在内存泄漏之外,查找非法内存问题有时也很繁琐。各种工具可以用来检测软件中与主内存相关的问题,这可以减轻应用程序的测试时间。这些工具分为静态分析工具和动态分析工具。这些工具帮助程序员编写内存安全和干净的代码,而不会出现内存泄漏和相关问题。本文讨论了不同的内存泄漏检测工具。本文还根据不同的参数对不同的检测工具进行了比较,并根据所花费的时间对记忆检测工具进行了评价。结果表明,Mtrace工具的分析时间最长,而Electric fence工具的分析时间最短。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信