1. /etc/default/grub 2. GRUB_CMD_LINE_LINUX="mem=32g" 3. sudo update-grub https://wiki.ubuntu.com/Kernel/KernelBootParameters