There needs to be a peak memory usage value. There is peak and average cpu percentage, but only average memory percentage. You can create a max memory using SQL, but this adds additional overhead during the query as it has to do the calculations on the fly.
