Why application errors drain battery easily?: a study of memory leaks in smartphone apps

Mingyuan Xia, Wenbo He, Xue Liu, Jie Liu
{"title":"Why application errors drain battery easily?: a study of memory leaks in smartphone apps","authors":"Mingyuan Xia, Wenbo He, Xue Liu, Jie Liu","doi":"10.1145/2525526.2525846","DOIUrl":null,"url":null,"abstract":"Mobile operating systems embrace new mechanisms that reduce energy consumption for common usage scenarios. The background app design is a representative implemented in all major mobile OSes. The OS keeps apps that are not currently interacting with the user in memory to avoid repeated app loading. This mechanism improves responsiveness and reduces the energy consumption when the user switches apps. However, we demonstrate that application errors, in particular memory leaks that cause system memory pressure, can easily cripple this mechanism. In this paper, we conduct experiments on real Android smartphones to 1) evaluate how the background app design improves responsiveness and saves energy; 2) characterize memory leaks in Android apps and outline its energy impact; 3) propose design improvements to retrofit the mechanism against memory leaks.","PeriodicalId":112226,"journal":{"name":"Power-Aware Computer Systems","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-11-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Power-Aware Computer Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2525526.2525846","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Mobile operating systems embrace new mechanisms that reduce energy consumption for common usage scenarios. The background app design is a representative implemented in all major mobile OSes. The OS keeps apps that are not currently interacting with the user in memory to avoid repeated app loading. This mechanism improves responsiveness and reduces the energy consumption when the user switches apps. However, we demonstrate that application errors, in particular memory leaks that cause system memory pressure, can easily cripple this mechanism. In this paper, we conduct experiments on real Android smartphones to 1) evaluate how the background app design improves responsiveness and saves energy; 2) characterize memory leaks in Android apps and outline its energy impact; 3) propose design improvements to retrofit the mechanism against memory leaks.
为什么应用错误容易耗尽电池?一项关于智能手机应用程序内存泄漏的研究
移动操作系统采用了新的机制,可以在常见的使用场景中降低能耗。后台应用程序的设计是在各大移动操作系统中实现的代表。操作系统将当前不与用户交互的应用程序保存在内存中,以避免重复加载应用程序。当用户切换应用程序时,这种机制提高了响应速度并减少了能耗。然而,我们证明了应用程序错误,特别是导致系统内存压力的内存泄漏,可以很容易地削弱这种机制。在本文中,我们在真实的Android智能手机上进行实验,1)评估后台应用程序设计如何提高响应速度和节省能源;2)描述Android应用程序的内存泄漏并概述其对能源的影响;3)提出设计改进,以改进内存泄漏机制。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信