[FEATURE] Monitor peak memory usage