1. A method for memory tuning for garbage collection and central processing unit (CPU) utilization optimization, the method comprising: benchmarking an application across multiple different heap sizes to accumulate garbage collection metrics; utilizing the garbage collection metrics accumulated during benchmarking to compute both CPU utilization and garbage collection time for each of a selection of candidate heap sizes; matching one of the candidate heap sizes to a desired CPU utilization and garbage collection time; and, applying the matched one of the candidate heap sizes to a host environment.