Automated statistical approach for memory leak detection: case studies

  • Authors:
  • Vladimir Šor;Nikita Salnikov-Tarnovski;Satish Narayana Srirama

  • Affiliations:
  • Institute of Computer Science, University of Tartu, Tartu, Estonia and AS Webmedia R&D, Tartu, Estonia;AS Webmedia R&D, Tartu, Estonia;Institute of Computer Science, University of Tartu, Tartu, Estonia

  • Venue:
  • OTM'11 Proceedings of the 2011th Confederated international conference on On the move to meaningful internet systems - Volume Part II
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Applications written in Java™language, and in other programming languages running on Java™Virtual Machine (JVM) are widely used in cloud environments. Although JVM features garbage collection, memory leaks can still happen in these applications. Current solutions for finding memory leaks have several drawbacks which become critical when deployed in distributed and dynamic environments like cloud. Statistical approach for memory leak detection gives good results in terms of false positives and we have implemented automatic statistical approach for memory leak detection in Java™applications. To test its correctness and performance we have conducted several experiments by finding memory leaks in a large web-application and searching for related bugs in open source projects from Apache Software Foundation. This paper presents the results of these experiments and concludes that automated statistical method for memory leak detection is efficient and can be used also in production systems to find hardly reproducible leaks.