• DocumentCode
    679640
  • Title

    Detection and Root Cause Analysis of Memory-Related Software Aging Defects by Automated Tests

  • Author

    Langner, Felix ; Andrzejak, Artur

  • Author_Institution
    Inst. of Comput. Sci., Heidelberg Univ., Heidelberg, Germany
  • fYear
    2013
  • fDate
    14-16 Aug. 2013
  • Firstpage
    365
  • Lastpage
    369
  • Abstract
    Memory-related software defects manifest after a long incubation time and are usually discovered in a production scenario. As a consequence, this frequently encountered class of so-called software aging problems incur severe follow-up costs, including performance and reliability degradation, need for workarounds (usually controlled restarts) and effort for localizing the causes. While many excellent tools for identifying memory leaks exist, they are inappropriate for automated leak detection or isolation as they require developer involvement or slow down execution considerably. In this work we propose a lightweight approach which allows for automated leak detection during the standardized unit or integration tests. The core idea is to compare at the byte-code level the memory allocation behavior of related development versions of the same software. We evaluate our approach by injecting memory leaks into the YARN component of the popular Hadoop framework and comparing the accuracy of detection and isolation in various scenarios. The results show that the approach can detect and isolate such defects with high precision, even if multiple leaks are injected at once.
  • Keywords
    program testing; software reliability; HADOOP framework; YARN component; automated leak detection; automated leak isolation; automated tests; byte-code level; incubation time; integration tests; lightweight approach; memory allocation behavior; memory-related software aging defects; performance degradation; production scenario; reliability degradation; root cause analysis; standardized unit; Aging; Instruments; Java; Memory management; Monitoring; Resource management; Software; Automated Debugging; Automated Testing; Memory Leaks; Software Aging;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Modeling, Analysis & Simulation of Computer and Telecommunication Systems (MASCOTS), 2013 IEEE 21st International Symposium on
  • Conference_Location
    San Francisco, CA
  • ISSN
    1526-7539
  • Type

    conf

  • DOI
    10.1109/MASCOTS.2013.53
  • Filename
    6730788