Merge "Change FreeMemory and TotalMemory behavior."