Use parallel to track memory usage