capture memory usage over time