Is 16GB of RAM the minimum for building AOSP?
Yes — 8GB is so painful it’s almost unusable because the OS starts swapping immediately during parallel builds, turning it into a disk-bound crawl. With an 8-core CPU, each parallel job can eat 1–2 GB of RAM, so 16GB is the floor.