fix for memory usage plot