Limit the Physical Memory in Linux

Add the “mem=MEMORY_LIMIT” to the boot option, and reboot the system.