Merge "Change FreeMemory and TotalMemory behavior." into lmp-dev