[OTR-4159] Automatic Memory Tuning.