I have a one-off task that requires me to use a VM to fix a build bug a software project using SCons (Python). The testing cycle is fairly short, resulting in frequent rebuilds. I'm using a 4-core laptop to host the VM and doing little else (a handful of tabs in Firefox, one terminal window for vim) aside from the work in the VM itself. I'm considering increasing the hardware allotment to the VM from 2 to 4 cores, but this would give all of my cores to the VM. Is this a terrible idea?
More info in case it matters:
VirtualBox on Ubuntu 18.04 LTS
RAM: 2GB of 8GB used according to
free, 4GB allocated to the VM.
Storage: 256GB SSD (M.2)