Where has all my memory gone?: determining memory characteristics of product variants using virtual-machine-level monitoring

  • Authors:
  • Philipp Lengauer;Verena Bitto;Florian Angerer;Paul Grünbacher;Hanspeter Mössenböck

  • Affiliations:
  • Johannes Kepler University, Linz, Austria;Johannes Kepler University, Linz, Austria;Johannes Kepler University, Linz, Austria;Johannes Kepler University, Linz, Austria;Johannes Kepler University, Linz, Austria

  • Venue:
  • Proceedings of the Eighth International Workshop on Variability Modelling of Software-Intensive Systems
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

Non-functional properties such as memory footprint have recently gained importance in software product line research. However, determining the memory characteristics of individual features and product variants is extremely challenging. We present an approach that supports the monitoring of memory characteristics of individual features at the level of Java virtual machines. Our approach provides extensions to Java virtual machines to track memory allocations and deal-locations of individual features based on a feature-to-code mapping. The approach enables continuous monitoring at the level of features to detect anomalies such as memory leaks, excessive memory consumption, or abnormal garbage collection times in product variants. We provide an evaluation of our approach based on different product variants of the DesktopSearcher product line. Our experiment with different program inputs demonstrates the feasibility of our technique.