But... if you start applications inside your VM it will want the full 8 Gb you've allocated not the 5 Gb it uses at startup?
Edit: I stand corrected!
[1] https://developer.apple.com/documentation/virtualization/vzv...
Good reminder that there's a certain amount of memory tied up with each core (probably mainly page cache and concurrency handling etc).
dieulot•1h ago