bootargs 里面有一个 mem 的参数,将这个配置 512M 便是将内存配置为 512M 转载于:https://www.cnblogs.com/chenfulin5/p/10605220.html