diff --git a/OpenCore-Boot-NoUI.sh b/OpenCore-Boot-NoUI.sh index 26320c1..f3c93d7 100755 --- a/OpenCore-Boot-NoUI.sh +++ b/OpenCore-Boot-NoUI.sh @@ -2,7 +2,7 @@ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" -ALLOCATED_RAM="12288" # MiB +ALLOCATED_RAM="8192" # MiB CPU_SOCKETS="1" CPU_CORES="2" CPU_THREADS="4" diff --git a/OpenCore-Boot.sh b/OpenCore-Boot.sh index 30b05b9..58226d6 100755 --- a/OpenCore-Boot.sh +++ b/OpenCore-Boot.sh @@ -23,7 +23,7 @@ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" # This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with # macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6. -ALLOCATED_RAM="12288" # MiB +ALLOCATED_RAM="8192" # MiB CPU_SOCKETS="1" CPU_CORES="2" CPU_THREADS="4" diff --git a/README-NoUI.md b/README-NoUI.md index 49b0e8c..f013f68 100644 --- a/README-NoUI.md +++ b/README-NoUI.md @@ -99,6 +99,8 @@ sudo shutdown -h now ## Additional Notes +When you use the VSCode Remote SSH extension, you will disconnect from the VM as soon as the VM enters sleep mode. To prevent this, you can enable automatic login and disable lock screen in the macOS settings. This way, the user will be logged in automatically when the VM starts and won't enter sleep mode. + I personally use Nix flakes to manage the environment, so I can install all the required tools with `nix develop` and run the scripts from there. (The Nix package manager does not support XCode, so you need to install it manually first.) Additionally, I use GitHub to store my credentials, which allows me to just copy the `.gitconfig` and `.git-credentials` to the user home directory on the VM.