Use configured maximum memory to determine limits