Good reminder that there's a certain amount of memory tied up with each core (probably mainly page cache and concurrency handling etc).
200 lines?! That’s two orders of magnitude too many. What exactly are you doing that you need so such code for signing and notarisation?
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...