Informative oom message

When running out of memory and growing heap size is not allowed, actually print out what the current value of TOTAL_MEMORY was the application was built with, to help estimate how much memory might be needed.