Plot memory usage of a process