File Download

There are no files associated with this item.

  • Find it @ UNIST can give you direct access to the published full text of this article. (UNISTARs only)

Views & Downloads

Detailed Information

Cited time in webofscience Cited time in scopus
Metadata Downloads

KAL: kernel-assisted non-invasive memory leak tolerance with a general-purpose memory allocator

Author(s)
Jeong, JinkyuSeo, EuiseongChoi, JeonghwanKim, HwanjuJo, HeeseungLee, Joonwon
Issued Date
2010-07
DOI
10.1002/spe.970
URI
https://scholarworks.unist.ac.kr/handle/201301/3635
Fulltext
http://www.scopus.com/inward/record.url?partnerID=HzOxMe3b&scp=77956380963
Citation
SOFTWARE-PRACTICE & EXPERIENCE, v.40, no.8, pp.605 - 625
Abstract
Memory leaks are a continuing problem in the software developed with programming languages, such as C and C++. A recent approach adopted by some researchers is to tolerate leaks in the software application and to reclaim the leaked memory by use of specially constructed memory allocation routines. However, such routines replace the usual general-purpose memory allocator and tend to be less efficient in speed and in memory utilization. We propose a new scheme which coexists with the existing memory allocation routines and which reclaims memory leaks. Our scheme identifies and reclaims leaked memory at the kernel level. There are some major advantages to our approach: (I) the application software does not need to be modified; (2) the application does not need to be suspended while leaked memory is reclaimed; (3) a remote host can be used to identify the leaked memory, thus minimizing impact on the application program's performance; and (4) our scheme does not degrade the service availability of the application while detecting and reclaiming memory leaks. We have implemented a prototype that works with the GNU C library and with the Linux kernel. Our prototype has been tested and evaluated with various real-world applications. Our results show that the computational overhead of our approach is around 2% of that incurred by the conventional memory allocator in terms of throughput and average response time. We also verified that the prototype successfully suppressed address space expansion caused by memory leaks when the applications are run on synthetic workloads.
Publisher
JOHN WILEY & SONS LTD
ISSN
0038-0644

qrcode

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.